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

Unified Diff: webkit/renderer/compositor_bindings/web_layer_impl.cc

Issue 212603017: Remove scroll distribution code from Layer/LayerTreeHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « webkit/renderer/compositor_bindings/web_layer_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/renderer/compositor_bindings/web_layer_impl.cc
diff --git a/webkit/renderer/compositor_bindings/web_layer_impl.cc b/webkit/renderer/compositor_bindings/web_layer_impl.cc
index a0caaf53a49e9baf86dbdfb506a6ec12808a9234..d55ede27e6be2cb5ab05f94236a5af3e54df889b 100644
--- a/webkit/renderer/compositor_bindings/web_layer_impl.cc
+++ b/webkit/renderer/compositor_bindings/web_layer_impl.cc
@@ -253,10 +253,6 @@ blink::WebPoint WebLayerImpl::scrollPosition() const {
return gfx::PointAtOffsetFromOrigin(layer_->scroll_offset());
}
-WebSize WebLayerImpl::maxScrollPosition() const {
- return layer_->MaxScrollOffset();
-}
-
void WebLayerImpl::setScrollClipLayer(WebLayer* clip_layer) {
if (!clip_layer) {
layer_->SetScrollClipLayerId(Layer::INVALID_ID);
« no previous file with comments | « webkit/renderer/compositor_bindings/web_layer_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698