Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Unified Diff: include/core/SkPictureRecorder.h

Issue 344473002: Update the name of the friended android class and add the appropriate guards. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPictureRecorder.h
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h
index b13b8a809b21695e3c9ce86e73712120c572465b..a58e8275628e02a403fa2577eef8be8b58ec075f 100644
--- a/include/core/SkPictureRecorder.h
+++ b/include/core/SkPictureRecorder.h
@@ -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
robertphillips 2014/06/23 15:21:15 Can we get rid of AndroidPicture now?
+ 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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698