diff options
author | Chris Dalton <csmartdalton@google.com> | 2018-05-22 16:17:48 -0600 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-23 13:27:41 +0000 |
commit | f104fec6d745540019556823f849535fe8872653 (patch) | |
tree | 49a7fb44c37f7e8b333f259714d14a2f5eefa3e3 /tests/OnFlushCallbackTest.cpp | |
parent | 3087c1f382f1cd547598dc75f47ccbc8fe1e6e0f (diff) |
Delete GrDrawOp::wasRecorded
Bug: skia:7988
Change-Id: I8d12beec835767f22302a1e167fcef46ee5e5ffc
Reviewed-on: https://skia-review.googlesource.com/129555
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'tests/OnFlushCallbackTest.cpp')
-rw-r--r-- | tests/OnFlushCallbackTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/OnFlushCallbackTest.cpp b/tests/OnFlushCallbackTest.cpp index 8fb8a38d75..706ce7a9d9 100644 --- a/tests/OnFlushCallbackTest.cpp +++ b/tests/OnFlushCallbackTest.cpp @@ -442,6 +442,7 @@ static sk_sp<GrTextureProxy> make_upstream_image(GrContext* context, AtlasObject AtlasedRectOp* sparePtr = op.get(); uint32_t opListID = rtc->priv().testingOnly_addDrawOp(std::move(op)); + SkASSERT(SK_InvalidUniqueID != opListID); object->addOp(opListID, sparePtr); } |