aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-09-10 16:40:05 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-10 16:40:05 -0700
commit97bf60ff7f3dd7d6e782b706ec94efb2b414b27e (patch)
tree93d69fbb5601e00976d4b83eb6d4e6cf34f93664
parent99d6a9ee8b3516de892d118c71aa5e6e5c865efd (diff)
Delay any SkRecordOptimize until after SkRecord has stuck.
BUG=skia: R=robertphillips@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/561993002
-rw-r--r--src/core/SkPicture.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp
index 408901bebe..5b9921024e 100644
--- a/src/core/SkPicture.cpp
+++ b/src/core/SkPicture.cpp
@@ -640,7 +640,8 @@ uint32_t SkPicture::uniqueID() const {
}
static SkRecord* optimized(SkRecord* r) {
- SkRecordOptimize(r);
+ // TODO(mtklein): try this after SkRecord has stuck
+ //SkRecordOptimize(r);
return r;
}