Index: content/browser/gpu/browser_gpu_channel_host_factory.cc |
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.cc b/content/browser/gpu/browser_gpu_channel_host_factory.cc |
index 01fc786970736c39ede146f1b5e023215a84dd89..b55713a0a0478bbc568129a2f6de07329107dfba 100644 |
--- a/content/browser/gpu/browser_gpu_channel_host_factory.cc |
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.cc |
@@ -21,6 +21,10 @@ |
#include "ipc/ipc_forwarding_message_filter.h" |
#include "ipc/message_filter.h" |
+#if defined(USE_OZONE) |
+#include "ui/ozone/gpu/gpu_platform_support_host.h" |
+#endif |
+ |
namespace content { |
BrowserGpuChannelHostFactory* BrowserGpuChannelHostFactory::instance_ = NULL; |
@@ -197,6 +201,9 @@ void BrowserGpuChannelHostFactory::Initialize(bool establish_gpu_channel) { |
instance_->EstablishGpuChannel(CAUSE_FOR_GPU_LAUNCH_BROWSER_STARTUP, |
base::Closure()); |
} |
+#if defined(USE_OZONE) |
+ ui::GpuPlatformSupportHost::Initialize(); |
alexst (slow to review)
2014/06/16 21:34:23
Do we need to explicitly init this here? Presumabl
spang
2014/06/17 14:47:34
Actually, our other initializer can't do this beca
|
+#endif |
} |
void BrowserGpuChannelHostFactory::Terminate() { |