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

Unified Diff: content/renderer/gpu/compositor_thread.h

Issue 12386078: Remove CompositorThread dependency on WebThread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 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 | « no previous file | content/renderer/gpu/compositor_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/compositor_thread.h
diff --git a/content/renderer/gpu/compositor_thread.h b/content/renderer/gpu/compositor_thread.h
index e0bc9f319a6a0e3bb286be919e8163feb9496e06..1319267de8274451072b0e45a1f7458797e7ce47 100644
--- a/content/renderer/gpu/compositor_thread.h
+++ b/content/renderer/gpu/compositor_thread.h
@@ -9,9 +9,9 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
+#include "base/threading/thread.h"
#include "content/renderer/render_view_impl.h"
#include "ipc/ipc_channel_proxy.h"
-#include "webkit/glue/webthread_impl.h"
namespace WebKit {
class WebInputEvent;
@@ -40,9 +40,7 @@ class CompositorThread {
int input_handler_id,
const base::WeakPtr<RenderViewImpl>& render_view_impl);
- webkit_glue::WebThreadImpl* GetWebThread() { return &thread_; }
-
- MessageLoop* message_loop() { return thread_.message_loop(); }
+ base::MessageLoopProxy* message_loop_proxy() const;
private:
// Callback only from the compositor's thread.
@@ -66,7 +64,7 @@ class CompositorThread {
scoped_refptr<InputHandlerWrapper> > InputHandlerMap;
InputHandlerMap input_handlers_;
- webkit_glue::WebThreadImpl thread_;
+ base::Thread thread_;
scoped_refptr<InputEventFilter> filter_;
};
« no previous file with comments | « no previous file | content/renderer/gpu/compositor_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698