aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-16 17:10:12 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-16 17:10:12 +0000
commit8121c6cb70d89552455f1a03df4dc98ea3e9af71 (patch)
tree608a8f1512fbce0436da9bb1be00764f38fad254 /include
parenta387db29051d106dddc4bc2a34f46360f75d05de (diff)
Reverting r14225 (Fix SK_SUPPORT_DEPRECATED_RECORD_FLAGS handling - https://codereview.chromium.org/237673017/) due to compiler complaints
git-svn-id: http://skia.googlecode.com/svn/trunk@14226 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-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.