| Index: content/browser/gpu/gpu_process_host.cc
|
| diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
|
| index f394db38d4b8ce4ec4106215bea4849ca7e29bf1..69ec3c24f11da32f8f3038e5d14e8ff1c3662eba 100644
|
| --- a/content/browser/gpu/gpu_process_host.cc
|
| +++ b/content/browser/gpu/gpu_process_host.cc
|
| @@ -62,6 +62,7 @@
|
| #include "mojo/edk/embedder/embedder.h"
|
| #include "services/shell/public/cpp/connection.h"
|
| #include "services/shell/public/cpp/interface_provider.h"
|
| +#include "services/shell/runner/common/client_util.h"
|
| #include "ui/base/ui_base_switches.h"
|
| #include "ui/events/latency_info.h"
|
| #include "ui/gl/gl_switches.h"
|
| @@ -90,10 +91,6 @@
|
| #include "content/browser/gpu/gpu_surface_tracker.h"
|
| #endif
|
|
|
| -#if defined(MOJO_SHELL_CLIENT)
|
| -#include "services/shell/runner/common/client_util.h"
|
| -#endif
|
| -
|
| namespace content {
|
|
|
| bool GpuProcessHost::gpu_enabled_ = true;
|
| @@ -316,9 +313,7 @@ bool GpuProcessHost::ValidateHost(GpuProcessHost* host) {
|
|
|
| // static
|
| GpuProcessHost* GpuProcessHost::Get(GpuProcessKind kind, bool force_create) {
|
| -#if defined(MOJO_SHELL_CLIENT)
|
| DCHECK(!shell::ShellIsRemote());
|
| -#endif
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
|
|
| // Don't grant further access to GPU if it is not allowed.
|
|
|