Index: cc/surfaces/frame_sink_manager.cc |
diff --git a/cc/surfaces/frame_sink_manager.cc b/cc/surfaces/frame_sink_manager.cc |
index 7e9095c1b72c1297a75f0451b2d4568543c12c4f..c16a921fc47a38413dc4e0724903b8e7171c4815 100644 |
--- a/cc/surfaces/frame_sink_manager.cc |
+++ b/cc/surfaces/frame_sink_manager.cc |
@@ -9,7 +9,6 @@ |
#include "base/logging.h" |
#include "cc/surfaces/frame_sink_manager_client.h" |
-#include "cc/surfaces/surface_factory_client.h" |
#if DCHECK_IS_ON() |
#include <sstream> |
@@ -28,8 +27,8 @@ FrameSinkManager::FrameSinkSourceMapping::~FrameSinkSourceMapping() {} |
FrameSinkManager::FrameSinkManager() {} |
FrameSinkManager::~FrameSinkManager() { |
- // All surface factory clients should be unregistered prior to SurfaceManager |
- // destruction. |
+ // All CompositorFrameSinks should be unregistered prior to |
+ // SurfaceManager destruction. |
DCHECK_EQ(clients_.size(), 0u); |
DCHECK_EQ(registered_sources_.size(), 0u); |
} |
@@ -207,7 +206,7 @@ void FrameSinkManager::UnregisterFrameSinkHierarchy( |
} |
DCHECK(found_child); |
- // The SurfaceFactoryClient and hierarchy can be registered/unregistered |
+ // The CompositorFrameSinkSupport and hierarchy can be registered/unregistered |
// in either order, so empty frame_sink_source_map entries need to be |
// checked when removing either clients or relationships. |
if (!iter->second.has_children() && !clients_.count(parent_frame_sink_id) && |