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

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

Issue 838193002: Fix CrOS FileManagerBrowserTest with scheduler enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't need change to renderer_accessibility.cc Created 5 years, 11 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
« no previous file with comments | « no previous file | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_render_thread.cc
diff --git a/content/public/test/mock_render_thread.cc b/content/public/test/mock_render_thread.cc
index 3d75afcb84bb98ef2e339c04ba814a63d0038ff0..cdd96b8a091374e9488d041ee39d71a0508bee27 100644
--- a/content/public/test/mock_render_thread.cc
+++ b/content/public/test/mock_render_thread.cc
@@ -63,7 +63,7 @@ bool MockRenderThread::Send(IPC::Message* msg) {
}
scoped_refptr<base::SingleThreadTaskRunner> MockRenderThread::GetTaskRunner() {
- return scoped_refptr<base::MessageLoopProxy>();
+ return base::MessageLoopProxy::current();
}
IPC::SyncChannel* MockRenderThread::GetChannel() {
« no previous file with comments | « no previous file | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698