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

Unified Diff: cc/blink/web_layer_impl.cc

Issue 2680953002: Remove GraphicsLayer::didScroll and directly call ScrollableArea::didScroll (Closed)
Patch Set: Remove unneeded tests from parent patch Created 3 years, 10 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 | « no previous file | cc/layers/layer.h » ('j') | third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp » ('J')
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 73e62b3e66fc0f018aa19bf2484402d08a1b69af..345ea3ea64adec1aec1c40c02c376dca598f7d4a 100644
--- a/cc/blink/web_layer_impl.cc
+++ b/cc/blink/web_layer_impl.cc
@@ -416,7 +416,8 @@ void WebLayerImpl::setScrollClient(blink::WebLayerScrollClient* scroll_client) {
base::Bind(&blink::WebLayerScrollClient::didScroll,
base::Unretained(scroll_client)));
} else {
- layer_->set_did_scroll_callback(base::Closure());
+ layer_->set_did_scroll_callback(
+ base::Callback<void(const gfx::ScrollOffset&)>());
}
}
« no previous file with comments | « no previous file | cc/layers/layer.h » ('j') | third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698