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

Unified Diff: ui/compositor/test/in_process_context_factory.cc

Issue 2382873002: Replace usage of SurfaceId's client_id with FrameSinkId (Closed)
Patch Set: Fix android_webview Created 4 years, 3 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: ui/compositor/test/in_process_context_factory.cc
diff --git a/ui/compositor/test/in_process_context_factory.cc b/ui/compositor/test/in_process_context_factory.cc
index 5c3fe0a58a368f017b96193be2cef168afc97cad..7c7d8b9772c563e7eccaea6f39a0f7e1c242e6c8 100644
--- a/ui/compositor/test/in_process_context_factory.cc
+++ b/ui/compositor/test/in_process_context_factory.cc
@@ -253,8 +253,8 @@ cc::TaskGraphRunner* InProcessContextFactory::GetTaskGraphRunner() {
return &task_graph_runner_;
}
-uint32_t InProcessContextFactory::AllocateSurfaceClientId() {
- return next_surface_client_id_++;
+cc::FrameSinkId InProcessContextFactory::AllocateFrameSinkId() {
+ return cc::FrameSinkId(next_surface_client_id_++, 0);
}
cc::SurfaceManager* InProcessContextFactory::GetSurfaceManager() {

Powered by Google App Engine
This is Rietveld 408576698