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

Unified Diff: ui/views/mus/surface_context_factory.cc

Issue 2385193002: FrameSinkIds use to WindowIds in window server, Process ID/Route ID in renderer (Closed)
Patch Set: Added missing serialization 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
« no previous file with comments | « ui/views/mus/surface_context_factory.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/surface_context_factory.cc
diff --git a/ui/views/mus/surface_context_factory.cc b/ui/views/mus/surface_context_factory.cc
index 27d618b4838521ba2e5b26951bd79b30a5d085f3..d5f9966bb77efce4c58d837440f102546290ceaf 100644
--- a/ui/views/mus/surface_context_factory.cc
+++ b/ui/views/mus/surface_context_factory.cc
@@ -29,7 +29,7 @@ class FakeReflector : public ui::Reflector {
} // namespace
SurfaceContextFactory::SurfaceContextFactory(ui::GpuService* gpu_service)
- : next_surface_id_namespace_(1u), gpu_service_(gpu_service) {}
+ : next_sink_id_(1u), gpu_service_(gpu_service) {}
SurfaceContextFactory::~SurfaceContextFactory() {}
@@ -90,7 +90,7 @@ cc::TaskGraphRunner* SurfaceContextFactory::GetTaskGraphRunner() {
}
cc::FrameSinkId SurfaceContextFactory::AllocateFrameSinkId() {
- return cc::FrameSinkId(next_surface_id_namespace_++, 0);
+ return cc::FrameSinkId(0, next_sink_id_++);
}
cc::SurfaceManager* SurfaceContextFactory::GetSurfaceManager() {
« no previous file with comments | « ui/views/mus/surface_context_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698