diff options
Diffstat (limited to 'include/core/SkCanvas.h')
-rw-r--r-- | include/core/SkCanvas.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index e6c9ee2fab..7235efb2f0 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -18,8 +18,6 @@ #include "SkRegion.h" #include "SkXfermode.h" -//#define SK_SUPPORT_LEGACY_CANVAS_CREATECOMPATIBLEDEVICE - class SkBounder; class SkBaseDevice; class SkDraw; @@ -113,16 +111,6 @@ public: */ SkBaseDevice* getTopDevice(bool updateMatrixClip = false) const; -#ifdef SK_SUPPORT_LEGACY_CANVAS_CREATECOMPATIBLEDEVICE - /** - * Shortcut for getDevice()->createCompatibleDevice(...). - * If getDevice() == NULL, this method does nothing, and returns NULL. - */ - SkBaseDevice* createCompatibleDevice(SkBitmap::Config config, - int width, int height, - bool isOpaque); -#endif - /** * Create a new surface matching the specified info, one that attempts to * be maximally compatible when used with this canvas. |