Index: services/ui/gpu/gpu_main.h |
diff --git a/services/ui/gpu/gpu_main.h b/services/ui/gpu/gpu_main.h |
index ffcf8c01a0203a070c251bac1894d28541764ab8..e2f15bc6d9ce5c57271ad1b222a168c6053d7686 100644 |
--- a/services/ui/gpu/gpu_main.h |
+++ b/services/ui/gpu/gpu_main.h |
@@ -8,6 +8,10 @@ |
#include "gpu/ipc/service/gpu_init.h" |
#include "services/ui/gpu/interfaces/gpu_service_internal.mojom.h" |
+namespace shell { |
+class Connector; |
+} |
+ |
namespace gpu { |
class GpuMemoryBufferFactory; |
} |
@@ -18,7 +22,7 @@ class GpuServiceInternal; |
class GpuMain : public gpu::GpuSandboxHelper { |
public: |
- GpuMain(); |
+ explicit GpuMain(shell::Connector* connector); |
~GpuMain() override; |
void Add(mojom::GpuServiceInternalRequest request); |