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

Unified Diff: services/ui/ws/frame_generator.cc

Issue 2388753003: Introduce cc::LocalFrameId and use in SurfaceFactory (Closed)
Patch Set: Fix exo_unittests Created 4 years, 2 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
Index: services/ui/ws/frame_generator.cc
diff --git a/services/ui/ws/frame_generator.cc b/services/ui/ws/frame_generator.cc
index c749941cb081872394260803fdfffa0be50f4ecd..163546e0c78ed75b8ade196041813d21b57bf041 100644
--- a/services/ui/ws/frame_generator.cc
+++ b/services/ui/ws/frame_generator.cc
@@ -203,7 +203,7 @@ void FrameGenerator::DrawWindowTree(
quad->SetAll(sqs, bounds_at_origin /* rect */,
gfx::Rect() /* opaque_rect */,
bounds_at_origin /* visible_rect */, true /* needs_blending*/,
- default_surface->id());
+ default_surface->GetSurfaceId());
if (default_surface->may_contain_video())
*may_contain_video = true;
}
@@ -227,7 +227,7 @@ void FrameGenerator::DrawWindowTree(
quad->SetAll(sqs, bounds_at_origin /* rect */,
gfx::Rect() /* opaque_rect */,
bounds_at_origin /* visible_rect */, true /* needs_blending*/,
- underlay_surface->id());
+ underlay_surface->GetSurfaceId());
DCHECK(!underlay_surface->may_contain_video());
}
}

Powered by Google App Engine
This is Rietveld 408576698