Index: skia/ext/bitmap_platform_device_skia.h |
diff --git a/skia/ext/bitmap_platform_device_skia.h b/skia/ext/bitmap_platform_device_skia.h |
index 4a0d67a976990cfa7827cf60a214d019f7d64ff4..8859cccab425ab5bc94d385bd561c0196ab96776 100644 |
--- a/skia/ext/bitmap_platform_device_skia.h |
+++ b/skia/ext/bitmap_platform_device_skia.h |
@@ -14,6 +14,8 @@ |
namespace skia { |
+class ScopedPlatformPaint; |
+ |
// ----------------------------------------------------------------------------- |
// For now we just use SkBitmap for SkBitmapDevice |
// |
@@ -40,13 +42,15 @@ class BitmapPlatformDevice : public SkBitmapDevice, public PlatformDevice { |
explicit BitmapPlatformDevice(const SkBitmap& other); |
~BitmapPlatformDevice() override; |
- PlatformSurface BeginPlatformPaint() override; |
- |
protected: |
SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override; |
private: |
+ PlatformSurface BeginPlatformPaint() override; |
+ |
DISALLOW_COPY_AND_ASSIGN(BitmapPlatformDevice); |
+ |
+ friend class ScopedPlatformPaint; |
}; |
} // namespace skia |