Index: content/shell/renderer/layout_test/blink_test_runner.cc |
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc |
index 9c2cbbfd5652bc4e0c0da544ff10f02c9a7864ec..b17da212d91dc743367e3414b47a90509309c499 100644 |
--- a/content/shell/renderer/layout_test/blink_test_runner.cc |
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc |
@@ -13,15 +13,13 @@ |
#include "base/compiler_specific.h" |
#include "base/debug/debugger.h" |
#include "base/files/file_path.h" |
-#include "base/location.h" |
#include "base/md5.h" |
#include "base/memory/scoped_ptr.h" |
-#include "base/single_thread_task_runner.h" |
+#include "base/message_loop/message_loop.h" |
#include "base/strings/string_util.h" |
#include "base/strings/stringprintf.h" |
#include "base/strings/sys_string_conversions.h" |
#include "base/strings/utf_string_conversions.h" |
-#include "base/thread_task_runner_handle.h" |
#include "base/time/time.h" |
#include "components/test_runner/app_banner_client.h" |
#include "components/test_runner/gamepad_controller.h" |
@@ -833,7 +831,7 @@ void BlinkTestRunner::CaptureDumpPixels(const SkBitmap& snapshot) { |
void BlinkTestRunner::CaptureDumpComplete() { |
render_view()->GetWebView()->mainFrame()->stopLoading(); |
- base::ThreadTaskRunnerHandle::Get()->PostTask( |
+ base::MessageLoop::current()->PostTask( |
FROM_HERE, base::Bind(base::IgnoreResult(&BlinkTestRunner::Send), |
base::Unretained(this), |
new ShellViewHostMsg_TestFinished(routing_id()))); |