Index: ui/aura/window_tree_host.cc |
diff --git a/ui/aura/window_tree_host.cc b/ui/aura/window_tree_host.cc |
index 315f8e9b2651b6622c78038036184a73c4251fcc..bbe52fc33a6f495f33592fe27591edef151415b3 100644 |
--- a/ui/aura/window_tree_host.cc |
+++ b/ui/aura/window_tree_host.cc |
@@ -5,7 +5,7 @@ |
#include "ui/aura/window_tree_host.h" |
#include "base/debug/trace_event.h" |
-#include "base/message_loop/message_loop.h" |
+#include "base/thread_task_runner_handle.h" |
#include "ui/aura/client/capture_client.h" |
#include "ui/aura/client/cursor_client.h" |
#include "ui/aura/env.h" |
@@ -207,7 +207,7 @@ void WindowTreeHost::CreateCompositor( |
compositor_.reset( |
new ui::Compositor(GetAcceleratedWidget(), |
context_factory, |
- base::MessageLoopProxy::current())); |
+ base::ThreadTaskRunnerHandle::Get())); |
// TODO(beng): I think this setup should probably all move to a "accelerated |
// widget available" function. |
if (!dispatcher()) { |