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

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: stuff Created 7 years, 5 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/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

Powered by Google App Engine
This is Rietveld 408576698