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

Unified Diff: cc/layers/layer_impl.cc

Issue 2609243003: [NOT FOR REVIEW]
Patch Set: Created 3 years, 12 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/layer_impl.h ('k') | cc/test/fake_layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.cc
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
index be233f65d512fd6ebe4e958db2c06235e3400dd5..68af1baf3c1740fd337764f1e33c5635cca7ab32 100644
--- a/cc/layers/layer_impl.cc
+++ b/cc/layers/layer_impl.cc
@@ -74,6 +74,7 @@ LayerImpl::LayerImpl(LayerTreeImpl* tree_impl, int id)
transform_tree_index_(TransformTree::kInvalidNodeId),
effect_tree_index_(EffectTree::kInvalidNodeId),
clip_tree_index_(ClipTree::kInvalidNodeId),
+ new_clip_tree_index_(ClipTree::kInvalidNodeId),
scroll_tree_index_(ScrollTree::kInvalidNodeId),
sorting_context_id_(0),
current_draw_mode_(DRAW_MODE_NONE),
@@ -148,6 +149,10 @@ void LayerImpl::SetClipTreeIndex(int index) {
clip_tree_index_ = index;
}
+void LayerImpl::SetNewClipTreeIndex(int index) {
+ new_clip_tree_index_ = index;
+}
+
void LayerImpl::SetEffectTreeIndex(int index) {
effect_tree_index_ = index;
}
@@ -352,6 +357,7 @@ void LayerImpl::PushPropertiesTo(LayerImpl* layer) {
layer->transform_tree_index_ = transform_tree_index_;
layer->effect_tree_index_ = effect_tree_index_;
layer->clip_tree_index_ = clip_tree_index_;
+ layer->new_clip_tree_index_ = new_clip_tree_index_;
layer->scroll_tree_index_ = scroll_tree_index_;
layer->sorting_context_id_ = sorting_context_id_;
layer->has_will_change_transform_hint_ = has_will_change_transform_hint_;
« no previous file with comments | « cc/layers/layer_impl.h ('k') | cc/test/fake_layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698