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

Unified Diff: content/browser/compositor/gpu_process_transport_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
Index: content/browser/compositor/gpu_process_transport_factory.cc
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
index 0e8fb0ac34cdc5418f178ce258541956e7e67154..d8885a0358b911017f99bb9baa855725a731b372 100644
--- a/content/browser/compositor/gpu_process_transport_factory.cc
+++ b/content/browser/compositor/gpu_process_transport_factory.cc
@@ -651,7 +651,7 @@ ui::ContextFactory* GpuProcessTransportFactory::GetContextFactory() {
}
cc::FrameSinkId GpuProcessTransportFactory::AllocateFrameSinkId() {
- return cc::FrameSinkId(next_surface_client_id_++, 0);
+ return cc::FrameSinkId(0, next_sink_id_++);
}
void GpuProcessTransportFactory::SetDisplayVisible(ui::Compositor* compositor,

Powered by Google App Engine
This is Rietveld 408576698