Index: chrome/test/in_process_browser_test.cc |
diff --git a/chrome/test/in_process_browser_test.cc b/chrome/test/in_process_browser_test.cc |
index 9fc2544a2277c362dcb815d52c6e465ebc201a2a..61ece39319bdcefdf80a18a76d90678509e5560e 100644 |
--- a/chrome/test/in_process_browser_test.cc |
+++ b/chrome/test/in_process_browser_test.cc |
@@ -327,9 +327,10 @@ void InProcessBrowserTest::TimedOut() { |
error_message += base::IntToString(initial_timeout_); |
error_message += " ms (kInitialTimeoutInMS)."; |
- GTEST_NONFATAL_FAILURE_(error_message.c_str()); |
- |
MessageLoopForUI::current()->Quit(); |
+ |
+ // WARNING: This must be after Quit as it returns. |
+ FAIL() << error_message; |
} |
void InProcessBrowserTest::SetInitialTimeoutInMS(int timeout_value) { |