Index: cc/surfaces/surface_manager.h |
diff --git a/cc/surfaces/surface_manager.h b/cc/surfaces/surface_manager.h |
index 681f99f0e5967277fefa4fcee2b0650b8ef0c569..24d82aa588a19a1eca0f5883fbb0a5317760041d 100644 |
--- a/cc/surfaces/surface_manager.h |
+++ b/cc/surfaces/surface_manager.h |
@@ -129,7 +129,7 @@ class CC_SURFACES_EXPORT SurfaceManager { |
ClientSourceMapping(); |
ClientSourceMapping(const ClientSourceMapping& other); |
~ClientSourceMapping(); |
- bool is_empty() const { return !client && !children.size(); } |
+ bool is_empty() const { return !client && children.empty(); } |
// The client that's responsible for creating this namespace. Never null. |
SurfaceFactoryClient* client; |
// The currently assigned begin frame source for this client. |