Index: cc/TreeSynchronizer.cpp |
diff --git a/cc/TreeSynchronizer.cpp b/cc/TreeSynchronizer.cpp |
index 9559cc2ad5c64bf6e2bbcd3a6143828f88c010ac..eb5d83169aad44953bb2e4c656bd0d70d777db25 100644 |
--- a/cc/TreeSynchronizer.cpp |
+++ b/cc/TreeSynchronizer.cpp |
@@ -73,8 +73,8 @@ PassOwnPtr<CCLayerImpl> TreeSynchronizer::synchronizeTreeRecursive(RawPtrCCLayer |
ccLayerImpl->setMaskLayer(synchronizeTreeRecursive(newLayers, oldLayers, layer->maskLayer(), hostImpl)); |
ccLayerImpl->setReplicaLayer(synchronizeTreeRecursive(newLayers, oldLayers, layer->replicaLayer(), hostImpl)); |
- layer->pushPropertiesTo(ccLayerImpl.get()); |
ccLayerImpl->setLayerTreeHostImpl(hostImpl); |
+ layer->pushPropertiesTo(ccLayerImpl.get()); |
// Remove all dangling pointers. The pointers will be setup later in updateScrollbarLayerPointersRecursive phase |
if (CCScrollbarAnimationController* scrollbarController = ccLayerImpl->scrollbarAnimationController()) { |