aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private/GrSurfaceProxy.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2018-02-14 11:09:57 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-14 16:31:47 +0000
commit7d79e7b588e8286edee853e2c274a6daa48d88d1 (patch)
tree797350c6fc7ea8eed92f4088294ce96c7250182d /include/private/GrSurfaceProxy.h
parent5b6fa82ee12bcebbb5bced07347a6d113a0d87fd (diff)
Use a lazy proxy in OnFlushCallbackTest to fulfill some old TODOs
Change-Id: I194e38c87c2f341f16a5048f02027165d7c28ae9 Reviewed-on: https://skia-review.googlesource.com/107022 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'include/private/GrSurfaceProxy.h')
-rw-r--r--include/private/GrSurfaceProxy.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/private/GrSurfaceProxy.h b/include/private/GrSurfaceProxy.h
index 34dfcd00c6..cb8c46e78f 100644
--- a/include/private/GrSurfaceProxy.h
+++ b/include/private/GrSurfaceProxy.h
@@ -219,7 +219,6 @@ public:
int worstCaseWidth() const;
int worstCaseHeight() const;
GrSurfaceOrigin origin() const {
- SkASSERT(LazyState::kFully != this->lazyInstantiationState());
SkASSERT(kTopLeft_GrSurfaceOrigin == fOrigin || kBottomLeft_GrSurfaceOrigin == fOrigin);
return fOrigin;
}