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

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

Issue 2342003003: [WIP] Mus: Pass the mojo connector to OzonePlatform::InitializeForGPU (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
« no previous file with comments | « services/ui/gpu/gpu_main.h ('k') | services/ui/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/gpu_main.cc
diff --git a/services/ui/gpu/gpu_main.cc b/services/ui/gpu/gpu_main.cc
index ae9d93c694a5116cd287548b4f56838d69c84e20..488330a9c6100e1ef81d5cf9377dcc5bc6054d41 100644
--- a/services/ui/gpu/gpu_main.cc
+++ b/services/ui/gpu/gpu_main.cc
@@ -12,10 +12,10 @@
namespace ui {
-GpuMain::GpuMain() {
+GpuMain::GpuMain(shell::Connector* connector) {
gpu_init_.set_sandbox_helper(this);
bool success = gpu_init_.InitializeAndStartSandbox(
- *base::CommandLine::ForCurrentProcess());
+ *base::CommandLine::ForCurrentProcess(), connector);
if (success) {
if (gpu::GetNativeGpuMemoryBufferType() != gfx::EMPTY_BUFFER) {
gpu_memory_buffer_factory_ =
« no previous file with comments | « services/ui/gpu/gpu_main.h ('k') | services/ui/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698