diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-16 17:00:05 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-16 17:00:05 +0000 |
commit | a387db29051d106dddc4bc2a34f46360f75d05de (patch) | |
tree | d7528c09d71f627f85ec2535f2164a4765b0f212 /include | |
parent | 39426e2bcc8463b88872d22d6ed2729c68323073 (diff) |
Fix SK_SUPPORT_DEPRECATED_RECORD_FLAGS handling
https://codereview.chromium.org/237673017/
git-svn-id: http://skia.googlecode.com/svn/trunk@14225 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkPicture.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h index 441833db36..85b9ec21ac 100644 --- a/include/core/SkPicture.h +++ b/include/core/SkPicture.h @@ -147,6 +147,7 @@ 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 @@ -175,8 +176,6 @@ 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. |