Index: include/core/SkBitmapDevice.h |
diff --git a/include/core/SkBitmapDevice.h b/include/core/SkBitmapDevice.h |
index f8ce93a9272e1cdaf2967cd01a077fef12bb98f5..39bbab63e548baff699aba19b3f33ea8d1238f18 100644 |
--- a/include/core/SkBitmapDevice.h |
+++ b/include/core/SkBitmapDevice.h |
@@ -22,16 +22,18 @@ public: |
* any drawing to this device will have no effect. |
*/ |
SkBitmapDevice(const SkBitmap& bitmap); |
- |
+private: |
/** |
* Construct a new device with the specified bitmap as its backend. It is |
* valid for the bitmap to have no pixels associated with it. In that case, |
* any drawing to this device will have no effect. |
*/ |
SkBitmapDevice(const SkBitmap& bitmap, const SkDeviceProperties& deviceProperties); |
- |
- static SkBitmapDevice* Create(const SkImageInfo&, |
- const SkDeviceProperties* = NULL); |
+ static SkBitmapDevice* Create(const SkImageInfo&, const SkDeviceProperties*); |
+public: |
+ static SkBitmapDevice* Create(const SkImageInfo& info) { |
+ return Create(info, NULL); |
+ } |
virtual SkImageInfo imageInfo() const SK_OVERRIDE; |