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

Unified Diff: cc/test/test_layer_tree_host_base.cc

Issue 2189583004: [not for review - epic CL] Adding Elastic+Momentum+Layered scrolling to views::ScrollView Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Combined rebase 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/test/test_layer_tree_host_base.cc
diff --git a/cc/test/test_layer_tree_host_base.cc b/cc/test/test_layer_tree_host_base.cc
index 5a08d10e958ff3c769f296db95d89adada1ea9e3..1bc97a7b0dd62a7cb465000744ee2bd79a9a213c 100644
--- a/cc/test/test_layer_tree_host_base.cc
+++ b/cc/test/test_layer_tree_host_base.cc
@@ -117,7 +117,7 @@ void TestLayerTreeHostBase::SetupPendingTree(
if (!tile_size.IsEmpty())
pending_layer->set_fixed_tile_size(tile_size);
pending_layer->SetDrawsContent(true);
- pending_layer->SetScrollClipLayer(new_pending_root->id());
+ pending_layer->SetScrollClipAndCanOverscroll(new_pending_root->id(), false);
pending_root = new_pending_root.get();
pending_tree->SetRootLayerForTesting(std::move(new_pending_root));
} else {

Powered by Google App Engine
This is Rietveld 408576698