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

Unified Diff: content/public/test/render_view_test.cc

Issue 1159623009: content: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
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();
}

Powered by Google App Engine
This is Rietveld 408576698