diff options
Diffstat (limited to 'tests/SurfaceTest.cpp')
-rw-r--r-- | tests/SurfaceTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp index b755a7ed77..2ac8d29b3c 100644 --- a/tests/SurfaceTest.cpp +++ b/tests/SurfaceTest.cpp @@ -310,7 +310,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(UniqueImageSnapshot_Gpu, reporter, ctxInfo) { ERRORF(reporter, "Not texture backed."); return static_cast<intptr_t>(0); } - return static_cast<intptr_t>(texture->uniqueID()); + return static_cast<intptr_t>(texture->uniqueID().asUInt()); }; auto surfaceBackingStore = [reporter](SkSurface* surface) { @@ -321,7 +321,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(UniqueImageSnapshot_Gpu, reporter, ctxInfo) { ERRORF(reporter, "Not render target backed."); return static_cast<intptr_t>(0); } - return static_cast<intptr_t>(rt->uniqueID()); + return static_cast<intptr_t>(rt->uniqueID().asUInt()); }; test_unique_image_snap(reporter, surface.get(), false, imageBackingStore, |