Index: tests/SurfaceTest.cpp |
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp |
index 27b1524388795a928846962e0431edcfddf368ce..58555d37058d7050340704847fa204956337f7db 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->getUniqueID()); |
+ return static_cast<intptr_t>(texture->uniqueID()); |
}; |
auto surfaceBackingStore = [reporter](SkSurface* surface) { |
@@ -320,7 +320,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->getUniqueID()); |
+ return static_cast<intptr_t>(rt->uniqueID()); |
}; |
test_unique_image_snap(reporter, surface.get(), false, imageBackingStore, |