Reverting r14225 (Fix SK_SUPPORT_DEPRECATED_RECORD_FLAGS handling - https://coderevie...
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 16 Apr 2014 17:10:12 +0000 (17:10 +0000)
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 16 Apr 2014 17:10:12 +0000 (17:10 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@14226 2bbb7eff-a529-9590-31e7-b0007b416f81

include/core/SkPicture.h

index 85b9ec2..441833d 100644 (file)
@@ -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.