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

Unified Diff: cc/trees/property_tree.cc

Issue 1387003002: cc: Make property trees support resourceless draw mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DontReparentUnclippedClipNodes
Patch Set: Created 5 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/trees/property_tree.cc
diff --git a/cc/trees/property_tree.cc b/cc/trees/property_tree.cc
index 210d757a535498037166b03c313907115a4b56d2..a3cb351d49b5f65f81eb65c13c31978ca69e2dc5 100644
--- a/cc/trees/property_tree.cc
+++ b/cc/trees/property_tree.cc
@@ -107,6 +107,7 @@ ClipNodeData::ClipNodeData()
layer_visibility_uses_only_local_clip(false),
target_is_clipped(false),
layers_are_clipped(false),
+ layers_are_clipped_when_surfaces_disabled(false),
resets_clip(false) {}
EffectNodeData::EffectNodeData()
@@ -625,7 +626,9 @@ gfx::RectF ClipTree::ViewportClip() {
return Node(1)->data.clip;
}
-PropertyTrees::PropertyTrees() : needs_rebuild(true), sequence_number(0) {
-}
+PropertyTrees::PropertyTrees()
+ : needs_rebuild(true),
+ non_root_surfaces_enabled(true),
+ sequence_number(0) {}
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698