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 b984ce8b73f458287a6700442f160ec32b2c6604..4969077605d862dec49127fc7684750e36b25e19 100644 |
--- a/webkit/renderer/compositor_bindings/web_layer_impl.cc |
+++ b/webkit/renderer/compositor_bindings/web_layer_impl.cc |
@@ -227,11 +227,6 @@ void WebLayerImpl::setForceRenderSurface(bool force_render_surface) { |
void WebLayerImpl::setScrollPosition(WebKit::WebPoint position) { |
layer_->SetScrollOffset(gfx::Point(position).OffsetFromOrigin()); |
- // TODO(enne): Blink currently always updates scroll offset and layer position |
- // in tandem for frames in RenderLayerCompositor::frameViewDidScroll. |
- // So that this can be removed in Blink, temporarily do that work here. |
- // See: http://crbug.com/256381 |
- layer_->SetPosition(gfx::PointAtOffsetFromOrigin(-layer_->scroll_offset())); |
} |
WebKit::WebPoint WebLayerImpl::scrollPosition() const { |