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

Unified Diff: dm/DMTask.cpp

Issue 179403010: Revert of Let DM run unit tests. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 10 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 | « dm/DMTask.h ('k') | dm/DMTaskRunner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMTask.cpp
diff --git a/dm/DMTask.cpp b/dm/DMTask.cpp
index 2f009f067028532e9fbf954164d9c489726feb97..a5c75f0f8a5d10f99fcb5de6518a375e77e73d9b 100644
--- a/dm/DMTask.cpp
+++ b/dm/DMTask.cpp
@@ -26,7 +26,8 @@
if (!this->shouldSkip()) {
this->draw();
}
- fReporter->finish(this->name());
+ fReporter->finish();
+ fReporter->updateStatusLine();
delete this;
}
@@ -38,12 +39,8 @@
}
}
-void Task::fail(const char* msg) {
- SkString failure(this->name());
- if (msg) {
- failure.appendf(": %s", msg);
- }
- fReporter->fail(failure);
+void Task::fail() {
+ fReporter->fail(this->name());
}
} // namespace DM
« no previous file with comments | « dm/DMTask.h ('k') | dm/DMTaskRunner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698