Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index 1e39e00526d86e3c4ef125dca72f4a1260b33a62..4a61321ff76203b2e2264de518d6bd1cadefa753 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -340,17 +340,6 @@ |
void setPixelGeometry(SkPixelGeometry geo); |
- struct CreateInfo { |
- CreateInfo(const SkImageInfo& info, Usage usage) : fInfo(info), fUsage(usage) {} |
- |
- SkImageInfo fInfo; |
- Usage fUsage; |
- }; |
- virtual SkBaseDevice* onCreateCompatibleDevice(const CreateInfo& cinfo) { |
- // call deprecated method until we can update chrome's subclasses |
- return this->onCreateDevice(cinfo.fInfo, cinfo.fUsage); |
- } |
- |
private: |
friend class SkCanvas; |
friend struct DeviceCM; //for setMatrixClip |
@@ -377,7 +366,6 @@ |
// just called by SkCanvas for imagefilter |
SkBaseDevice* createCompatibleDeviceForImageFilter(const SkImageInfo&); |
- // DEPRECATED -- override onCreateCompatibleDevice instead. |
virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) { |
return NULL; |
} |