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

Unified Diff: cc/trees/layer_tree_host_common.cc

Issue 2144303002: Made layout viewport scroll updates from compositor work like ordinary layers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rootScrollerOnCompositor
Patch Set: Created 4 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/trees/layer_tree_host_common.cc
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc
index 0263d5537c286c66985dc5c18281a7356d6deafc..a5d15fed0d0f9a0a41efd30bf433b878701629ea 100644
--- a/cc/trees/layer_tree_host_common.cc
+++ b/cc/trees/layer_tree_host_common.cc
@@ -159,6 +159,7 @@ void LayerTreeHostCommon::ScrollUpdateInfo::FromProtobuf(
ScrollAndScaleSet::ScrollAndScaleSet()
: page_scale_delta(1.f), top_controls_delta(0.f) {
+ inner_viewport_scroll.layer_id = Layer::INVALID_ID;
}
ScrollAndScaleSet::~ScrollAndScaleSet() {}

Powered by Google App Engine
This is Rietveld 408576698