Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index e58a491563a7511cda871a01fb2e80fc229c870c..25ad4993869f5eb833c8fdc9db081e7b97b342b3 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -1,4 +1,3 @@ |
- |
/* |
* Copyright 2010 The Android Open Source Project |
* |
@@ -6,7 +5,6 @@ |
* found in the LICENSE file. |
*/ |
- |
#ifndef SkDevice_DEFINED |
#define SkDevice_DEFINED |
@@ -76,18 +74,11 @@ public: |
bounds->setXYWH(origin.x(), origin.y(), this->width(), this->height()); |
} |
- |
/** Returns true if the device's bitmap's config treats every pixel as |
implicitly opaque. |
*/ |
virtual bool isOpaque() const = 0; |
-#ifdef SK_SUPPORT_LEGACY_DEVICE_CONFIG |
- /** Return the bitmap config of the device's pixels |
- */ |
- virtual SkBitmap::Config config() const = 0; |
-#endif |
- |
/** Return the bitmap associated with this device. Call this each time you need |
to access the bitmap, as it notifies the subclass to perform any flushing |
etc. before you examine the pixels. |