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

Unified Diff: services/ui/gpu/gpu_service_internal.cc

Issue 2327073002: [WIP] Pass the single_process parameter to Ozone's initialization functions (Closed)
Patch Set: 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: services/ui/gpu/gpu_service_internal.cc
diff --git a/services/ui/gpu/gpu_service_internal.cc b/services/ui/gpu/gpu_service_internal.cc
index 2cfa5ae2e95c40c1a602c15426909c0e61695433..7f6ed9cf326280192de1c0b56476136d5e63d475 100644
--- a/services/ui/gpu/gpu_service_internal.cc
+++ b/services/ui/gpu/gpu_service_internal.cc
@@ -162,7 +162,9 @@ void GpuServiceInternal::InitializeOnGpuThread(base::WaitableEvent* event) {
#if defined(USE_OZONE)
// TODO(rjkroege): Must plumb the shell::Connector* to here and pass into
// ozone.
- ui::OzonePlatform::InitializeForGPU();
+ ui::OzonePlatform::InitParams params;
+ params.single_process = false;
rjkroege 2016/09/12 20:39:12 This will break downstream code. Please don't do
fwang 2016/09/13 13:49:19 I'm not sure I understand this... Can you elaborat
+ ui::OzonePlatform::InitializeForGPU(params);
#endif
if (gpu::GetNativeGpuMemoryBufferType() != gfx::EMPTY_BUFFER) {

Powered by Google App Engine
This is Rietveld 408576698