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

Unified Diff: cc/blink/web_layer_impl.cc

Issue 2194833002: Overscroll and Elasticity for views::ScrollView Base URL: https://chromium.googlesource.com/chromium/src.git@20160728-MacViews-RouteThroughInputHandler
Patch Set: Restore functionality and fix bugs \o/ Created 4 years, 1 month 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/blimp/layer_tree_host_remote.cc ('k') | cc/input/input_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_layer_impl.cc
diff --git a/cc/blink/web_layer_impl.cc b/cc/blink/web_layer_impl.cc
index 76bad020de9062e811efe9db1ed12022a4f65ac0..ba2211ecd4012c009bcc5b4955dfbb71722a81fb 100644
--- a/cc/blink/web_layer_impl.cc
+++ b/cc/blink/web_layer_impl.cc
@@ -228,10 +228,10 @@ blink::WebDoublePoint WebLayerImpl::scrollPositionDouble() const {
void WebLayerImpl::setScrollClipLayer(WebLayer* clip_layer) {
if (!clip_layer) {
- layer_->SetScrollClipLayerId(Layer::INVALID_ID);
+ layer_->SetScrollClipAndCanOverscroll(Layer::INVALID_ID, false);
return;
}
- layer_->SetScrollClipLayerId(clip_layer->id());
+ layer_->SetScrollClipAndCanOverscroll(clip_layer->id(), false);
}
bool WebLayerImpl::scrollable() const {
« no previous file with comments | « cc/blimp/layer_tree_host_remote.cc ('k') | cc/input/input_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698