Update the name of the friended android class and add the appropriate guards.

R=scroggo@google.com, robertphillips@google.com, reed@google.com

Author: djsollen@google.com

Review URL: https://codereview.chromium.org/344473002
This commit is contained in:
djsollen 2014-06-17 13:42:59 -07:00 committed by Commit bot
parent 4a24cd8ff4
commit dbb7b30429

View File

@ -12,6 +12,12 @@
#include "SkPicture.h"
#include "SkRefCnt.h"
#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
namespace android {
class Picture;
};
#endif
class SkCanvas;
class SkPictureRecord;
class SkRecord;
@ -65,7 +71,10 @@ private:
/** Replay the current (partially recorded) operation stream into
canvas. This call doesn't close the current recording.
*/
friend class AndroidPicture;
#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
friend class AndroidPicture; // This is temporary until we remove this from the framework
friend class android::Picture;
#endif
friend class SkPictureRecorderReplayTester; // for unit testing
void partialReplay(SkCanvas* canvas) const;