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

Unified Diff: cc/surfaces/pending_frame_observer.h

Issue 2861713003: cc: Remove SurfaceDependencies type (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | cc/surfaces/surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/pending_frame_observer.h
diff --git a/cc/surfaces/pending_frame_observer.h b/cc/surfaces/pending_frame_observer.h
index ec7acab2e2a83e490a956f8ecf0501c1d5919092..09a05a9bffe483df8f84df2eea26834e693b8858 100644
--- a/cc/surfaces/pending_frame_observer.h
+++ b/cc/surfaces/pending_frame_observer.h
@@ -11,8 +11,6 @@
namespace cc {
-using SurfaceDependencies = base::flat_set<SurfaceId>;
-
class Surface;
// Clients that wish to observe when the state of a pending CompostiorFrame
@@ -26,8 +24,8 @@ class CC_SURFACES_EXPORT PendingFrameObserver {
// have changed.
virtual void OnSurfaceDependenciesChanged(
Surface* surface,
- const SurfaceDependencies& added_dependencies,
- const SurfaceDependencies& removed_dependencies) = 0;
+ const base::flat_set<SurfaceId>& added_dependencies,
+ const base::flat_set<SurfaceId>& removed_dependencies) = 0;
// Called when |surface| is being destroyed.
virtual void OnSurfaceDiscarded(Surface* surface) = 0;
« no previous file with comments | « no previous file | cc/surfaces/surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698