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

Unified Diff: cc/resources/picture_pile_impl.h

Issue 648293006: cc: turn on distance field text on animated layers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "removed test code" Created 6 years, 2 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
Index: cc/resources/picture_pile_impl.h
diff --git a/cc/resources/picture_pile_impl.h b/cc/resources/picture_pile_impl.h
index 75ee5363cfdd7dd569298825affcc388c22f4cdf..290639f8837076214e6d9943aaaa6f009169249c 100644
--- a/cc/resources/picture_pile_impl.h
+++ b/cc/resources/picture_pile_impl.h
@@ -58,6 +58,15 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
skia::RefPtr<SkPicture> GetFlattenedPicture();
+ bool will_be_used_for_transform_animation() const {
reveman 2014/10/20 18:38:29 is it guaranteed that this will be used for a tran
+ return will_be_used_for_transform_animation_;
+ }
+ void set_will_be_used_for_transform_animation(
+ bool will_be_used_for_transform_animation) {
reveman 2014/10/20 18:38:29 I don't see 'false' ever being passed to this func
+ will_be_used_for_transform_animation_ =
+ will_be_used_for_transform_animation;
+ }
+
struct CC_EXPORT Analysis {
Analysis();
~Analysis();
@@ -124,6 +133,8 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
RenderingStatsInstrumentation* rendering_stats_instrumentation,
bool is_analysis) const;
+ bool will_be_used_for_transform_animation_;
+
DISALLOW_COPY_AND_ASSIGN(PicturePileImpl);
};

Powered by Google App Engine
This is Rietveld 408576698