Index: cc/layer_tree_host_impl.cc |
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc |
index f6b753915070bb426cf9fcb728db7a9f9d36ec29..94d0fc6b5c0cfa9bcbd4e8eb12c6c4f7c8c51350 100644 |
--- a/cc/layer_tree_host_impl.cc |
+++ b/cc/layer_tree_host_impl.cc |
@@ -379,13 +379,6 @@ void LayerTreeHostImpl::trackDamageForAllSurfaces(LayerImpl* rootDrawLayer, cons |
} |
} |
-void LayerTreeHostImpl::updateRootScrollLayerImplTransform() |
-{ |
- if (rootScrollLayer()) { |
- rootScrollLayer()->setImplTransform(implTransform()); |
- } |
-} |
- |
void LayerTreeHostImpl::updateDrawProperties() |
{ |
if (!needsUpdateDrawProperties()) |
@@ -406,7 +399,9 @@ void LayerTreeHostImpl::calculateRenderSurfaceLayerList(LayerList& renderSurface |
DCHECK(rootLayer()); |
DCHECK(m_renderer); // For maxTextureSize. |
{ |
- updateRootScrollLayerImplTransform(); |
+ if (rootScrollLayer()) { |
+ rootScrollLayer()->setImplTransform(implTransform()); |
Sami
2012/12/11 11:51:54
I guess this file is still in WebKit style so the
|
+ } |
TRACE_EVENT0("cc", "LayerTreeHostImpl::calcDrawEtc"); |
float pageScaleFactor = m_pinchZoomViewport.pageScaleFactor(); |