aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2014-06-08 13:12:44 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-08 13:12:44 -0700
commite2f2b984443e870319e107374f7d786f243a20ae (patch)
tree054fb0a3c68892c651a01b80c3eb28f832dc3303 /src
parent91359bed48bc006a4319da86eb26db3b2e6d4afb (diff)
No longer limit SkPictureRecorder::partialReplay to Android
Toggling this for local testing is a bit of a chore. R=mtklein@google.com, reed@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/316173004
Diffstat (limited to 'src')
-rw-r--r--src/core/SkPictureRecorder.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/SkPictureRecorder.cpp b/src/core/SkPictureRecorder.cpp
index 31302d0cbc..d0de355047 100644
--- a/src/core/SkPictureRecorder.cpp
+++ b/src/core/SkPictureRecorder.cpp
@@ -68,7 +68,6 @@ void SkPictureRecorder::internalOnly_EnableOpts(bool enableOpts) {
}
}
-#ifdef SK_BUILD_FOR_ANDROID
void SkPictureRecorder::partialReplay(SkCanvas* canvas) const {
if (NULL == fPicture.get() || NULL == canvas) {
// Not recording or nothing to replay into
@@ -82,4 +81,3 @@ void SkPictureRecorder::partialReplay(SkCanvas* canvas) const {
false));
playback->draw(*canvas, NULL);
}
-#endif