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

Unified Diff: trunk/src/cc/trees/layer_tree_host_impl.cc

Issue 13334005: Revert 191400 "cc: Add ‘chromium_code’: 1 to cc.gyp and cc_t..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 9 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 | « trunk/src/cc/trees/layer_tree_host_common.cc ('k') | trunk/src/cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/cc/trees/layer_tree_host_impl.cc
===================================================================
--- trunk/src/cc/trees/layer_tree_host_impl.cc (revision 191412)
+++ trunk/src/cc/trees/layer_tree_host_impl.cc (working copy)
@@ -1108,7 +1108,7 @@
}
bool LayerTreeHostImpl::haveRootScrollLayer() const {
- return !!RootScrollLayer();
+ return RootScrollLayer();
}
LayerImpl* LayerTreeHostImpl::RootLayer() const {
@@ -1395,7 +1395,7 @@
bool LayerTreeHostImpl::EnsureRenderSurfaceLayerList() {
active_tree_->UpdateDrawProperties(LayerTreeImpl::UPDATE_ACTIVE_TREE);
- return !active_tree_->RenderSurfaceLayerList().empty();
+ return active_tree_->RenderSurfaceLayerList().size();
}
InputHandlerClient::ScrollStatus LayerTreeHostImpl::ScrollBegin(
Property changes on: trunk/src/cc/trees/layer_tree_host_impl.cc
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « trunk/src/cc/trees/layer_tree_host_common.cc ('k') | trunk/src/cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698