Index: content/child/child_thread_impl.cc |
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc |
index 3acec6173349f6bc46a08b67d1f99b527d460125..75482e9c53119e02ec7be6e5d750ae8fc928ab2f 100644 |
--- a/content/child/child_thread_impl.cc |
+++ b/content/child/child_thread_impl.cc |
@@ -69,10 +69,6 @@ |
#include "third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h" |
#endif |
-#if defined(OS_MACOSX) |
-#include "content/child/child_io_surface_manager_mac.h" |
-#endif |
- |
#if defined(USE_OZONE) |
#include "ui/ozone/public/client_native_pixmap_factory.h" |
#endif |
@@ -178,29 +174,6 @@ class SuicideOnChannelErrorFilter : public IPC::MessageFilter { |
#endif // OS(POSIX) |
-#if defined(OS_MACOSX) |
-class IOSurfaceManagerFilter : public IPC::MessageFilter { |
- public: |
- // Overridden from IPC::MessageFilter: |
- bool OnMessageReceived(const IPC::Message& message) override { |
- bool handled = true; |
- IPC_BEGIN_MESSAGE_MAP(IOSurfaceManagerFilter, message) |
- IPC_MESSAGE_HANDLER(ChildProcessMsg_SetIOSurfaceManagerToken, |
- OnSetIOSurfaceManagerToken) |
- IPC_MESSAGE_UNHANDLED(handled = false) |
- IPC_END_MESSAGE_MAP() |
- return handled; |
- } |
- |
- protected: |
- ~IOSurfaceManagerFilter() override {} |
- |
- void OnSetIOSurfaceManagerToken(const IOSurfaceManagerToken& token) { |
- ChildIOSurfaceManager::GetInstance()->set_token(token); |
- } |
-}; |
-#endif |
- |
#if defined(USE_OZONE) |
class ClientNativePixmapFactoryFilter : public IPC::MessageFilter { |
public: |
@@ -480,10 +453,6 @@ void ChildThreadImpl::Init(const Options& options) { |
channel_->AddFilter(new SuicideOnChannelErrorFilter()); |
#endif |
-#if defined(OS_MACOSX) |
- channel_->AddFilter(new IOSurfaceManagerFilter()); |
-#endif |
- |
#if defined(USE_OZONE) |
channel_->AddFilter(new ClientNativePixmapFactoryFilter()); |
#endif |