Index: content/browser/renderer_host/render_widget_host_view_android.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc |
index baca128113cbe4e3ca01273c9e25f3ee1f150c2c..7884f75b91957686e3bf63b5d6e43c018ee4a672 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_android.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc |
@@ -962,13 +962,6 @@ bool RenderWidgetHostViewAndroid::Animate(base::TimeTicks frame_time) { |
void RenderWidgetHostViewAndroid::UpdateAnimationSize( |
const cc::CompositorFrameMetadata& frame_metadata) { |
- // Disable edge effects for axes on which scrolling is impossible. |
- gfx::SizeF ceiled_viewport_size = |
- gfx::ToCeiledSize(frame_metadata.viewport_size); |
- overscroll_effect_->set_horizontal_overscroll_enabled( |
- ceiled_viewport_size.width() < frame_metadata.root_layer_size.width()); |
- overscroll_effect_->set_vertical_overscroll_enabled( |
- ceiled_viewport_size.height() < frame_metadata.root_layer_size.height()); |
overscroll_effect_->set_size(content_size_in_layer_); |
} |