aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/image/SkSurface_Base.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/image/SkSurface_Base.h b/src/image/SkSurface_Base.h
index e0005647e6..1b0f9ff975 100644
--- a/src/image/SkSurface_Base.h
+++ b/src/image/SkSurface_Base.h
@@ -43,16 +43,7 @@ public:
* must faithfully represent the current contents, even if the surface
* is changed after this called (e.g. it is drawn to via its canvas).
*/
-#ifdef SK_SUPPORT_LEGACY_IMG_SNAPSHOT
- // This entry point is never called but is just here so Android unit tests will compile
- virtual sk_sp<SkImage> onNewImageSnapshot(SkBudgeted) { return nullptr; }
-
- // This entry point should be pure virtual. It has a default implementation so Android
- // unit tests will compile.
- virtual sk_sp<SkImage> onNewImageSnapshot() { return nullptr; }
-#else
virtual sk_sp<SkImage> onNewImageSnapshot() = 0;
-#endif
/**
* Default implementation: