summaryrefslogtreecommitdiffstats
path: root/googleurl/src/url_canon_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'googleurl/src/url_canon_unittest.cc')
-rw-r--r--googleurl/src/url_canon_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googleurl/src/url_canon_unittest.cc b/googleurl/src/url_canon_unittest.cc
index 1a3cd53..bc9536e 100644
--- a/googleurl/src/url_canon_unittest.cc
+++ b/googleurl/src/url_canon_unittest.cc
@@ -169,7 +169,7 @@ TEST(URLCanonTest, DoAppendUTF8) {
// TODO(mattm): Can't run this in debug mode for now, since the DCHECK will
// cause the Chromium stacktrace dialog to appear and hang the test.
// See http://crbug.com/49580.
-#ifdef NDEBUG
+#if defined(GTEST_HAS_DEATH_TEST) && defined(NDEBUG)
TEST(URLCanonTest, DoAppendUTF8Invalid) {
std::string out_str;
url_canon::StdStringCanonOutput output(&out_str);