aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPicture.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkPicture.h')
-rw-r--r--include/core/SkPicture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index 85b9ec21ac..441833db36 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -147,7 +147,6 @@ public:
// all external consumers, SkPicture::createBBoxHierarchy can also be
// cleaned up.
private:
- friend class SkPictureRecorder;
#endif
enum Deprecated_RecordingFlags {
/* This flag causes the picture to compute bounding boxes and build
@@ -176,6 +175,8 @@ public:
#ifndef SK_SUPPORT_LEGACY_PICTURE_CAN_RECORD
private:
friend class SkPictureRecorder;
+ friend class SkImage_Picture;
+ friend class SkSurface_Picture;
#endif
/** Returns the canvas that records the drawing commands.