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

Unified Diff: cc/surfaces/surface_dependency_tracker.cc

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/surface_dependency_tracker.h ('k') | cc/surfaces/surface_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_dependency_tracker.cc
diff --git a/cc/surfaces/surface_dependency_tracker.cc b/cc/surfaces/surface_dependency_tracker.cc
index 89eaf14fe0e6089d50536d5dcbf2a23ea01cb88b..4686da0cc9d444d24d5e47613490515191259135 100644
--- a/cc/surfaces/surface_dependency_tracker.cc
+++ b/cc/surfaces/surface_dependency_tracker.cc
@@ -159,8 +159,8 @@ void SurfaceDependencyTracker::OnSurfaceActivated(Surface* surface) {
void SurfaceDependencyTracker::OnSurfaceDependenciesChanged(
Surface* surface,
- const SurfaceDependencies& added_dependencies,
- const SurfaceDependencies& removed_dependencies) {
+ const base::flat_set<SurfaceId>& added_dependencies,
+ const base::flat_set<SurfaceId>& removed_dependencies) {
// Update the |blocked_surfaces_from_dependency_| map with the changes in
// dependencies.
for (const SurfaceId& surface_id : added_dependencies)
« no previous file with comments | « cc/surfaces/surface_dependency_tracker.h ('k') | cc/surfaces/surface_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698