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
This commit is contained in:
parent
39426e2bcc
commit
a387db2905
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user