Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Unified Diff: include/core/SkDevice.h

Issue 1006183002: remove legacy onCreateCompatibleDevice (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkDevice.h
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index ff25e3d05c92cbb166f8167c29f57d3690ac6f27..99c29ee2e3549bfa6701d5d0304f213a833356f2 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -341,13 +341,6 @@ protected:
const SkPixelGeometry fPixelGeometry;
};
-#ifdef SK_SUPPORT_LEGACY_ONCREATECOMPATIBLEDEVICE
- // legacy method name -- please override onCreateDevice instead
- virtual SkBaseDevice* onCreateCompatibleDevice(const CreateInfo&) {
- return NULL;
- }
-#endif
-
/**
* Create a new device based on CreateInfo. If the paint is not null, then it represents a
* preview of how the new device will be composed with its creator device (this).
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698