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

Unified Diff: cc/trees/layer_tree_host_common.cc

Issue 13206004: cc: Fix build issues for adding ‘chromium_code’: 1 to cc.gyp and cc_tests.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
Index: cc/trees/layer_tree_host_common.cc
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc
index d4ff04e70081a1018dd3d34f466f8f06432d6342..100ec15665a8fc5bd60bca6ffdf703d3f66df91b 100644
--- a/cc/trees/layer_tree_host_common.cc
+++ b/cc/trees/layer_tree_host_common.cc
@@ -1332,7 +1332,7 @@ void LayerTreeHostCommon::CalculateDrawProperties(
update_tile_priorities);
// The dummy layer list should not have been used.
- DCHECK_EQ(dummy_layer_list.size(), 0);
+ DCHECK(dummy_layer_list.empty());
// A root layer render_surface should always exist after
// CalculateDrawProperties.
DCHECK(root_layer->render_surface());
@@ -1385,7 +1385,7 @@ void LayerTreeHostCommon::CalculateDrawProperties(
update_tile_priorities);
// The dummy layer list should not have been used.
- DCHECK_EQ(dummy_layer_list.size(), 0);
+ DCHECK(dummy_layer_list.empty());
// A root layer render_surface should always exist after
// CalculateDrawProperties.
DCHECK(root_layer->render_surface());

Powered by Google App Engine
This is Rietveld 408576698