Index: chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc |
diff --git a/chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc b/chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc |
index 416db2980d44e11546a874a9d2e40d65126aab92..4977908be1b64fdcdae0ef34682bca820ffc4ed8 100644 |
--- a/chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc |
+++ b/chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc |
@@ -14,6 +14,7 @@ |
#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/message_loop/message_loop_proxy.h" |
+#include "base/thread_task_runner_handle.h" |
#include "base/values.h" |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/extensions/api/messaging/native_messaging_test_util.h" |
@@ -64,7 +65,7 @@ class EchoHost : public NativeMessageHost { |
}; |
scoped_refptr<base::SingleThreadTaskRunner> task_runner() const override { |
- return base::MessageLoopProxy::current(); |
+ return base::ThreadTaskRunnerHandle::Get(); |
}; |
private: |