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 62681024b8e9499b74cf99dcfc98573e2d4803c5..a18597617b70be6639b218314dde1f434982fed8 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -63,6 +63,7 @@ |
#include "services/shell/public/cpp/connection.h" |
#include "services/shell/public/cpp/interface_provider.h" |
#include "services/shell/public/cpp/interface_registry.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" |
@@ -91,10 +92,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; |
@@ -319,9 +316,7 @@ bool GpuProcessHost::ValidateHost(GpuProcessHost* host) { |
// static |
GpuProcessHost* GpuProcessHost::Get(GpuProcessKind kind, |
CauseForGpuLaunch cause) { |
-#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. |