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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 2840143002: [cc] Change semantics of fixed-pos container layer
Patch Set: Created 3 years, 8 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/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index baf32a383e384dbf353e395d3fddba174fa774bf..71d806068930f49d99a48b9d2b5db349b6dd398d 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -1156,7 +1156,7 @@ void LayerTreeHost::PushPropertiesTo(LayerTreeImpl* tree_impl) {
page_scale_layer_->id(), inner_viewport_scroll_layer_->id(),
outer_viewport_scroll_layer_ ? outer_viewport_scroll_layer_->id()
: Layer::INVALID_ID);
- DCHECK(inner_viewport_scroll_layer_->IsContainerForFixedPositionLayers());
+ DCHECK(page_scale_layer_->IsContainerForFixedPositionLayers());
bokan 2017/04/26 21:17:56 I think this DCHECK should be for the outer contai
} else {
tree_impl->ClearViewportLayers();
}
« no previous file with comments | « no previous file | cc/trees/property_tree_builder.cc » ('j') | third_party/WebKit/Source/core/frame/VisualViewport.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698