Index: content/public/test/render_view_test.cc |
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc |
index e6925e26a1a65f6709cc2ef043a410f2e69fed01..26262408d209638acbd11b9afa754e1adf29223f 100644 |
--- a/content/public/test/render_view_test.cc |
+++ b/content/public/test/render_view_test.cc |
@@ -6,7 +6,9 @@ |
#include <cctype> |
+#include "base/location.h" |
#include "base/run_loop.h" |
+#include "base/single_thread_task_runner.h" |
#include "components/scheduler/renderer/renderer_scheduler.h" |
#include "content/common/dom_storage/dom_storage_types.h" |
#include "content/common/frame_messages.h" |
@@ -133,7 +135,8 @@ RenderViewTest::~RenderViewTest() { |
} |
void RenderViewTest::ProcessPendingMessages() { |
- msg_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); |
+ msg_loop_.task_runner()->PostTask(FROM_HERE, |
+ base::MessageLoop::QuitClosure()); |
msg_loop_.Run(); |
} |