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

Unified Diff: cc/surfaces/frame_sink_manager.cc

Issue 2802023002: Remove SurfaceFactory And SurfaceFactoryClient (Closed)
Patch Set: Rebase SurfaceSynchronizationTest Created 3 years, 7 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
« no previous file with comments | « cc/surfaces/frame_sink_manager.h ('k') | cc/surfaces/surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) &&
« no previous file with comments | « cc/surfaces/frame_sink_manager.h ('k') | cc/surfaces/surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698