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

Unified Diff: cc/layers/paint_properties.h

Issue 21839004: cc: Push valid property values when CalcDrawProps skips layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: pushpaintprops: Call SavePaintProps when needed in tests Created 7 years, 4 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 | « cc/layers/nine_patch_layer_unittest.cc ('k') | cc/layers/picture_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/paint_properties.h
diff --git a/cc/layers/paint_properties.h b/cc/layers/paint_properties.h
index 9b936980c4f8fc489496cb55d281141c2194ce13..323e9499edb520e9a54fda9f768d7410d0ea68c5 100644
--- a/cc/layers/paint_properties.h
+++ b/cc/layers/paint_properties.h
@@ -11,9 +11,11 @@ namespace cc {
// Container for properties that layers need to save before they can be paint.
struct CC_EXPORT PaintProperties {
- PaintProperties() {}
+ PaintProperties() : source_frame_number(-1) {}
gfx::Size bounds;
+
+ int source_frame_number;
};
} // namespace cc
« no previous file with comments | « cc/layers/nine_patch_layer_unittest.cc ('k') | cc/layers/picture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698