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

Unified Diff: ppapi/proxy/tracked_callback_unittest.cc

Issue 1174543002: ppapi: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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: ppapi/proxy/tracked_callback_unittest.cc
diff --git a/ppapi/proxy/tracked_callback_unittest.cc b/ppapi/proxy/tracked_callback_unittest.cc
index 748dcfb4784788956894cf98fddf38db0848e637..4887ca2eacb7869aecf34062dbe923b7596ec235 100644
--- a/ppapi/proxy/tracked_callback_unittest.cc
+++ b/ppapi/proxy/tracked_callback_unittest.cc
@@ -3,9 +3,10 @@
// found in the LICENSE file.
#include "base/bind.h"
+#include "base/location.h"
#include "base/memory/ref_counted.h"
-#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
+#include "base/single_thread_task_runner.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/simple_thread.h"
#include "ppapi/c/pp_completion_callback.h"
@@ -245,9 +246,9 @@ class CallbackMockResource : public Resource {
ProxyAutoLock acquire;
// |thread_checker_| will bind to the background thread.
thread_checker_.DetachFromThread();
- loop_resource->message_loop_proxy()->PostTask(FROM_HERE,
- RunWhileLocked(
- base::Bind(&CallbackMockResource::CreateCallbacks, this)));
+ loop_resource->message_loop_proxy()->PostTask(
+ FROM_HERE, RunWhileLocked(base::Bind(
+ &CallbackMockResource::CreateCallbacks, this)));
}
int32_t CompletionTask(CallbackRunInfo* info, int32_t result) {

Powered by Google App Engine
This is Rietveld 408576698