Android has been updated to use the new signature so this should no longer be needed
Change-Id: Id745191e815381d032aba6a49bf4baf9c53b2385
Reviewed-on: https://skia-review.googlesource.com/9985
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
"SK_SUPPORT_LEGACY_SHADER_ISABITMAP",
"SK_SUPPORT_LEGACY_EMBOSSMASKFILTER",
"SK_SUPPORT_LEGACY_CANVAS_HELPERS",
- "SK_SUPPORT_LEGACY_IMG_SNAPSHOT",
]
* 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: