Index: content/browser/gpu/gpu_process_host_ui_shim.h |
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.h b/content/browser/gpu/gpu_process_host_ui_shim.h |
index da64174ae66ae671fa0481ed66e8494a25656b5a..8be236053d5795325d52a47600c9f85e9b12cedf 100644 |
--- a/content/browser/gpu/gpu_process_host_ui_shim.h |
+++ b/content/browser/gpu/gpu_process_host_ui_shim.h |
@@ -15,7 +15,6 @@ |
#include "base/callback_forward.h" |
#include "base/compiler_specific.h" |
-#include "base/task.h" |
#include "base/memory/linked_ptr.h" |
#include "base/memory/ref_counted.h" |
#include "base/threading/non_thread_safe.h" |
@@ -35,18 +34,7 @@ namespace IPC { |
class Message; |
} |
-// A task that will forward an IPC message to the UI shim. |
-class RouteToGpuProcessHostUIShimTask : public Task { |
- public: |
- RouteToGpuProcessHostUIShimTask(int host_id, const IPC::Message& msg); |
- virtual ~RouteToGpuProcessHostUIShimTask(); |
- |
- private: |
- virtual void Run() OVERRIDE; |
- |
- int host_id_; |
- IPC::Message msg_; |
-}; |
+void RouteToGpuProcessHostUIShimTask(int host_id, const IPC::Message& msg); |
class GpuProcessHostUIShim |
: public IPC::Channel::Listener, |