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

Unified Diff: cc/surfaces/surface.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 | « cc/surfaces/pending_frame_observer.h ('k') | cc/surfaces/surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface.h
diff --git a/cc/surfaces/surface.h b/cc/surfaces/surface.h
index 603036fe90e069fe4f8203e81c2944e0f4e66721..b43b1dafcd055c203ba5b249d93cce8211b40522 100644
--- a/cc/surfaces/surface.h
+++ b/cc/surfaces/surface.h
@@ -114,7 +114,7 @@ class CC_SURFACES_EXPORT Surface {
: nullptr;
}
- const SurfaceDependencies& blocking_surfaces() const {
+ const base::flat_set<SurfaceId>& blocking_surfaces() const {
return blocking_surfaces_;
}
@@ -163,7 +163,7 @@ class CC_SURFACES_EXPORT Surface {
bool destroyed_;
std::vector<SurfaceSequence> destruction_dependencies_;
- SurfaceDependencies blocking_surfaces_;
+ base::flat_set<SurfaceId> blocking_surfaces_;
base::ObserverList<PendingFrameObserver, true> observers_;
DISALLOW_COPY_AND_ASSIGN(Surface);
« no previous file with comments | « cc/surfaces/pending_frame_observer.h ('k') | cc/surfaces/surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698