| Index: include/core/SkCanvas.h
|
| diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
|
| index 8640d729b06965ce22ccac1a287554be767f226e..d2d35e25a0510e4dff46623cba7f418c150e06f4 100644
|
| --- a/include/core/SkCanvas.h
|
| +++ b/include/core/SkCanvas.h
|
| @@ -164,7 +164,11 @@ public:
|
| * the bitmap of the pixels that the canvas draws into. The reference count
|
| * of the returned device is not changed by this call.
|
| */
|
| +#ifndef SK_SUPPORT_LEGACY_GETDEVICE
|
| +protected: // Can we make this private?
|
| +#endif
|
| SkBaseDevice* getDevice() const;
|
| +public:
|
|
|
| /**
|
| * saveLayer() can create another device (which is later drawn onto
|
| @@ -1289,6 +1293,7 @@ private:
|
| friend class SkLua; // needs top layer size and offset
|
| friend class SkDebugCanvas; // needs experimental fAllowSimplifyClip
|
| friend class SkDeferredDevice; // needs getTopDevice()
|
| + friend class SkSurface_Raster; // needs getDevice()
|
|
|
| SkBaseDevice* createLayerDevice(const SkImageInfo&);
|
|
|
|
|