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

Unified Diff: components/test_runner/web_test_interfaces.cc

Issue 1308973005: html_viewer/web_view: An app for running layout-tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix-win-build Created 5 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/web_test_interfaces.cc
diff --git a/components/test_runner/web_test_interfaces.cc b/components/test_runner/web_test_interfaces.cc
index ca8aabda522809911f2c4542d36a92a41722cbd6..a866bad9fae31f69a61b76a737dd99983f33d81e 100644
--- a/components/test_runner/web_test_interfaces.cc
+++ b/components/test_runner/web_test_interfaces.cc
@@ -40,6 +40,8 @@ void WebTestInterfaces::ResetAll() {
void WebTestInterfaces::SetTestIsRunning(bool running) {
interfaces_->SetTestIsRunning(running);
+ if (!running && !termination_.is_null())
+ termination_.Run();
}
void WebTestInterfaces::ConfigureForTestWithURL(const WebURL& test_url,

Powered by Google App Engine
This is Rietveld 408576698