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

Unified Diff: mojo/application/run_application.cc

Issue 2018573002: Fix build breakage. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/application/run_application.cc
diff --git a/mojo/application/run_application.cc b/mojo/application/run_application.cc
index bee1f417939a36b57b26c3c4e50fae71f379565b..5a676219df73288c21c1778a28161801363249af 100644
--- a/mojo/application/run_application.cc
+++ b/mojo/application/run_application.cc
@@ -86,9 +86,9 @@ void TerminateApplication(MojoResult result) {
ResultHolder* result_holder =
static_cast<ResultHolder*>(g_current_result_holder.Get());
DCHECK(result_holder);
- DCHECK(!result_holder->is_set);
result_holder->result = result;
#if !defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)
+ DCHECK(!result_holder->is_set);
result_holder->is_set = true;
#endif
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698