summaryrefslogtreecommitdiffstats
path: root/skia/ext/bitmap_platform_device_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/bitmap_platform_device_linux.cc')
-rw-r--r--skia/ext/bitmap_platform_device_linux.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/skia/ext/bitmap_platform_device_linux.cc b/skia/ext/bitmap_platform_device_linux.cc
index a74ec83..b53b1b3 100644
--- a/skia/ext/bitmap_platform_device_linux.cc
+++ b/skia/ext/bitmap_platform_device_linux.cc
@@ -55,10 +55,6 @@ class BitmapPlatformDevice::BitmapPlatformDeviceData
void SetMatrixClip(const SkMatrix& transform, const SkRegion& region);
protected:
- friend class base::RefCounted<BitmapPlatformDeviceData>;
-
- ~BitmapPlatformDeviceData();
-
void LoadConfig();
// The Cairo surface inside this DC.
@@ -82,6 +78,11 @@ class BitmapPlatformDevice::BitmapPlatformDeviceData
BitmapPlatformDeviceData(const BitmapPlatformDeviceData&);
BitmapPlatformDeviceData& operator=(
const BitmapPlatformDeviceData&);
+
+ private:
+ friend class base::RefCounted<BitmapPlatformDeviceData>;
+
+ ~BitmapPlatformDeviceData();
};
BitmapPlatformDevice::BitmapPlatformDeviceData::BitmapPlatformDeviceData(