Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Unified Diff: cc/layer_tree_host.cc

Issue 11704003: cc: Move more functionality from host to LayerTreeImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/delegated_renderer_layer_impl_unittest.cc ('k') | cc/layer_tree_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host.cc
diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc
index 12ab72b4cfcdf649fc2f07e17828e546f3aa2134..3ac83bf79549b21ffd490a1af1233743c6fff4c2 100644
--- a/cc/layer_tree_host.cc
+++ b/cc/layer_tree_host.cc
@@ -332,13 +332,13 @@ void LayerTreeHost::finishCommitOnImplThread(LayerTreeHostImpl* hostImpl)
else
syncTree->set_hud_layer(0);
- // TODO(enne): Do these need to be moved to layer tree as well?
syncTree->set_source_frame_number(commitNumber());
+ syncTree->set_background_color(m_backgroundColor);
+ syncTree->set_has_transparent_background(m_hasTransparentBackground);
+
hostImpl->setViewportSize(layoutViewportSize(), deviceViewportSize());
hostImpl->setDeviceScaleFactor(deviceScaleFactor());
hostImpl->setPageScaleFactorAndLimits(m_pageScaleFactor, m_minPageScaleFactor, m_maxPageScaleFactor);
- hostImpl->setBackgroundColor(m_backgroundColor);
- hostImpl->setHasTransparentBackground(m_hasTransparentBackground);
hostImpl->setDebugState(m_debugState);
m_commitNumber++;
« no previous file with comments | « cc/delegated_renderer_layer_impl_unittest.cc ('k') | cc/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698