|
|
Created:
6 years, 6 months ago by djsollen Modified:
6 years, 6 months ago CC:
reviews_skia.org Base URL:
https://skia.googlesource.com/skia.git@master Visibility:
Public. |
DescriptionUpdate the name of the friended android class and add the appropriate guards.
Committed: https://skia.googlesource.com/skia/+/dbb7b30429691d3a340e49f62c2b3f6f4cb81120
Patch Set 1 #
Total comments: 1
Patch Set 2 : graceful merge #Patch Set 3 : add namespace #Patch Set 4 : fix namespace issue #Patch Set 5 : rebase #
Total comments: 1
Messages
Total messages: 19 (0 generated)
https://codereview.chromium.org/344473002/diff/1/include/core/SkPictureRecord... File include/core/SkPictureRecorder.h (right): https://codereview.chromium.org/344473002/diff/1/include/core/SkPictureRecord... include/core/SkPictureRecorder.h:61: friend class Picture; Is that really the name? No namespace around it? Wow.
added a namespace.
lgtm
The CQ bit was checked by djsollen@google.com
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/djsollen@google.com/344473002/40002
The CQ bit was unchecked by commit-bot@chromium.org
Failed to apply patch for include/core/SkPictureRecorder.h: While running git apply --index -p1; error: patch failed: include/core/SkPictureRecorder.h:12 error: include/core/SkPictureRecorder.h: patch does not apply Patch: include/core/SkPictureRecorder.h Index: include/core/SkPictureRecorder.h diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h index 8d29ff36daa310bcfbb3d3b0f3d9980a702d0dac..741e95f692d234de90fe9e122aef1841ade8e3f0 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; @@ -57,7 +63,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;
The CQ bit was checked by djsollen@google.com
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/djsollen@google.com/344473002/70001
The CQ bit was unchecked by commit-bot@chromium.org
Presubmit check for 344473002-70001 failed and returned exit status 1. Running presubmit commit checks ... ** Presubmit ERRORS ** Since the CL is editing public API, you must have an LGTM from one of: ('reed@chromium.org', 'reed@google.com', 'bsalomon@chromium.org', 'bsalomon@google.com')
reed@ can I get you to lgtm this?
lgtm
The CQ bit was checked by djsollen@google.com
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/djsollen@google.com/344473002/70001
Message was sent while issue was closed.
Change committed as dbb7b30429691d3a340e49f62c2b3f6f4cb81120
Message was sent while issue was closed.
https://codereview.chromium.org/344473002/diff/70001/include/core/SkPictureRe... File include/core/SkPictureRecorder.h (right): https://codereview.chromium.org/344473002/diff/70001/include/core/SkPictureRe... include/core/SkPictureRecorder.h:74: #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK Can we get rid of AndroidPicture now?
Message was sent while issue was closed.
see https://codereview.chromium.org/345613002/ |