Index: cc/layer_tree_host_impl.cc |
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc |
index e305b889cc546cabf4f99ad4753b3150560ced2f..d1bee109b27cde0e52dfbe6d15fd396d2f853d93 100644 |
--- a/cc/layer_tree_host_impl.cc |
+++ b/cc/layer_tree_host_impl.cc |
@@ -531,7 +531,7 @@ gfx::Size LayerTreeHostImpl::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 (!m_rootScrollLayerImpl || m_rootScrollLayerImpl->children().isEmpty()) |
+ if (!m_rootScrollLayerImpl || m_rootScrollLayerImpl->children().empty()) |
return gfx::Size(); |
return m_rootScrollLayerImpl->children()[0]->contentBounds(); |
} |