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

Unified Diff: content/browser/gpu/browser_gpu_channel_host_factory.cc

Issue 338193003: ozone: gpu: Add plumbing for platform-specific gpu messaging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
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() {

Powered by Google App Engine
This is Rietveld 408576698