aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2015-03-14 17:51:34 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-14 17:51:34 -0700
commit6af1b05b24718029ed3d83a97a05cc8404a2a2f3 (patch)
tree5622fe3bf8743bc8399786e23f78676bb52c376f
parent1e0bf7e113f994a512a351cc2b25ddb1e742b7d4 (diff)
remove legacy onCreateCompatibleDevice
needs this to land in chrome first : https://codereview.chromium.org/1013453002/ BUG=skia: TBR= Review URL: https://codereview.chromium.org/1006183002
-rw-r--r--include/core/SkDevice.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index ff25e3d05c..99c29ee2e3 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).