Index: cc/layer_tree_impl.cc |
diff --git a/cc/layer_tree_impl.cc b/cc/layer_tree_impl.cc |
index e07fa03d2b0c43b7fbfa2ee2e2c119a55c2059c5..ca0c926eb2f15f1cc2430e50260c9fb0dc45b0c2 100644 |
--- a/cc/layer_tree_impl.cc |
+++ b/cc/layer_tree_impl.cc |
@@ -157,7 +157,7 @@ const LayerTreeImpl::LayerList& LayerTreeImpl::RenderSurfaceLayerList() const { |
gfx::Size LayerTreeImpl::ContentSize() const { |
// TODO(aelias): Hardcoding the first child here is weird. Think of |
// a cleaner way to get the contentBounds on the Impl side. |
- if (!root_scroll_layer() || root_scroll_layer()->children().isEmpty()) |
+ if (!root_scroll_layer() || root_scroll_layer()->children().empty()) |
return gfx::Size(); |
return root_scroll_layer()->children()[0]->contentBounds(); |
} |