From 8121c6cb70d89552455f1a03df4dc98ea3e9af71 Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Wed, 16 Apr 2014 17:10:12 +0000 Subject: [PATCH] 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 --- include/core/SkPicture.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h index 85b9ec2..441833d 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. -- 2.7.4