summaryrefslogtreecommitdiffstats
path: root/net/http/http_cache_unittest.cc
diff options
context:
space:
mode:
authornsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-20 20:59:01 +0000
committernsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-20 20:59:01 +0000
commit20960e074cf789825155f771e1c035df41cd0e75 (patch)
tree560b967c07210bda790dbeebf6174e3e971b5eb7 /net/http/http_cache_unittest.cc
parentc4f7571e88637185eb79e598bd3b6301490a2255 (diff)
downloadchromium_src-20960e074cf789825155f771e1c035df41cd0e75.zip
chromium_src-20960e074cf789825155f771e1c035df41cd0e75.tar.gz
chromium_src-20960e074cf789825155f771e1c035df41cd0e75.tar.bz2
Add a gyp flag to enable dcheck by default in release without
having the pass a flag. This will be used on the try bots. BUG=96753 Review URL: http://codereview.chromium.org/7719007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102017 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_cache_unittest.cc')
-rw-r--r--net/http/http_cache_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_cache_unittest.cc b/net/http/http_cache_unittest.cc
index 6ea1be2..970b3b6 100644
--- a/net/http/http_cache_unittest.cc
+++ b/net/http/http_cache_unittest.cc
@@ -4103,7 +4103,7 @@ TEST(HttpCache, RangeGET_FastFlakyServer2) {
RemoveMockTransaction(&transaction);
}
-#ifdef NDEBUG
+#if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
// This test hits a NOTREACHED so it is a release mode only test.
TEST(HttpCache, RangeGET_OK_LoadOnlyFromCache) {
MockHttpCache cache;