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

Unified Diff: components/test_runner/test_runner.cc

Issue 2357043003: Remove WebCallbackTask (Closed)
Patch Set: remove WebTaskRunner::postTask(base::Closure). git cl format Created 4 years, 3 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: components/test_runner/test_runner.cc
diff --git a/components/test_runner/test_runner.cc b/components/test_runner/test_runner.cc
index 80162a192c626628a2b091ef94fb155bf999039f..60386f99e61eabb3cd1fb311201b08858ff65222 100644
--- a/components/test_runner/test_runner.cc
+++ b/components/test_runner/test_runner.cc
@@ -29,7 +29,6 @@
#include "components/test_runner/test_interfaces.h"
#include "components/test_runner/test_preferences.h"
#include "components/test_runner/test_runner_for_specific_view.h"
-#include "components/test_runner/web_task.h"
#include "components/test_runner/web_test_delegate.h"
#include "components/test_runner/web_view_test_proxy.h"
#include "gin/arguments.h"
@@ -1496,8 +1495,8 @@ void TestRunner::WorkQueue::ProcessWorkSoon() {
if (!queue_.empty()) {
// We delay processing queued work to avoid recursion problems.
- controller_->delegate_->PostTask(new WebCallbackTask(base::Bind(
- &TestRunner::WorkQueue::ProcessWork, weak_factory_.GetWeakPtr())));
+ controller_->delegate_->PostTask(base::Bind(
+ &TestRunner::WorkQueue::ProcessWork, weak_factory_.GetWeakPtr()));
} else if (!controller_->layout_test_runtime_flags_.wait_until_done()) {
controller_->delegate_->TestFinished();
}
« no previous file with comments | « components/test_runner/spell_check_client.cc ('k') | components/test_runner/test_runner_for_specific_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698