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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 339793007: Revert of 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
« no previous file with comments | « content/content_common.gypi ('k') | ui/ozone/gpu/gpu_platform_support.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index 34d200076c74721681661222b814dca8de96d82d..74864cbd35062f711a54fdf7adeb45f8e7d78f32 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -19,11 +19,6 @@
#include "ipc/ipc_sync_message_filter.h"
#include "ui/gl/gl_implementation.h"
-#if defined(USE_OZONE)
-#include "ui/ozone/gpu/gpu_platform_support.h"
-#include "ui/ozone/ozone_platform.h"
-#endif
-
namespace content {
namespace {
@@ -118,13 +113,6 @@
if (handled)
return true;
-#if defined(USE_OZONE)
- if (ui::OzonePlatform::GetInstance()
- ->GetGpuPlatformSupport()
- ->OnMessageReceived(msg))
- return true;
-#endif
-
return gpu_channel_manager_.get() &&
gpu_channel_manager_->OnMessageReceived(msg);
}
@@ -164,12 +152,6 @@
watchdog_thread_.get(),
ChildProcess::current()->io_message_loop_proxy(),
ChildProcess::current()->GetShutDownEvent()));
-
-#if defined(USE_OZONE)
- ui::OzonePlatform::GetInstance()
- ->GetGpuPlatformSupport()
- ->OnChannelEstablished(this);
-#endif
}
void GpuChildThread::StopWatchdog() {
« no previous file with comments | « content/content_common.gypi ('k') | ui/ozone/gpu/gpu_platform_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698