diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-10 22:55:49 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-10 22:55:49 +0000 |
commit | 8a6d68d19a350fa7a512b86ea97ce647d6f737e1 (patch) | |
tree | 1bca855254e91216c30bcde38569dbd78c6e8f65 /cc | |
parent | 7a701b3b04aadf88c4421fceab4a95fdc005b8ca (diff) | |
download | chromium_src-8a6d68d19a350fa7a512b86ea97ce647d6f737e1.zip chromium_src-8a6d68d19a350fa7a512b86ea97ce647d6f737e1.tar.gz chromium_src-8a6d68d19a350fa7a512b86ea97ce647d6f737e1.tar.bz2 |
cc: Add some missing braces for style correctness.
R=enne
Review URL: https://codereview.chromium.org/387613002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282449 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r-- | cc/trees/layer_tree_host.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc index a09e4f9..3618a4b 100644 --- a/cc/trees/layer_tree_host.cc +++ b/cc/trees/layer_tree_host.cc @@ -288,9 +288,11 @@ void LayerTreeHost::FinishCommitOnImplThread(LayerTreeHostImpl* host_impl) { sync_tree->set_source_frame_number(source_frame_number()); - if (needs_full_tree_sync_) + if (needs_full_tree_sync_) { sync_tree->SetRootLayer(TreeSynchronizer::SynchronizeTrees( root_layer(), sync_tree->DetachLayerTree(), sync_tree)); + } + { TRACE_EVENT0("cc", "LayerTreeHost::PushProperties"); TreeSynchronizer::PushProperties(root_layer(), sync_tree->root_layer()); |