Index: content/browser/tracing/memory_tracing_browsertest.cc |
diff --git a/content/browser/tracing/memory_tracing_browsertest.cc b/content/browser/tracing/memory_tracing_browsertest.cc |
index 2e222a850f78f05696184ea8087528569a016b8b..69ddfa98656cf12b0779cc064443eef573bc0eee 100644 |
--- a/content/browser/tracing/memory_tracing_browsertest.cc |
+++ b/content/browser/tracing/memory_tracing_browsertest.cc |
@@ -59,7 +59,7 @@ class MemoryTracingTest : public ContentBrowserTest { |
bool success) { |
// Make sure we run the RunLoop closure on the same thread that originated |
// the run loop (which is the IN_PROC_BROWSER_TEST_F main thread). |
- if (!task_runner->RunsTasksOnCurrentThread()) { |
+ if (!task_runner->RunsTasksInCurrentSequence()) { |
task_runner->PostTask( |
FROM_HERE, base::Bind(&MemoryTracingTest::OnGlobalMemoryDumpDone, |
base::Unretained(this), task_runner, closure, |