summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-25 20:50:25 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-25 20:50:25 +0000
commit2195b63a6464c9c9bea81e00ba0ba0e625b966cd (patch)
treed5141e16d56799e9d94da4406930c69140dcb2cc
parentf1b00b0972b025d27999462c87a1b115befafb76 (diff)
downloadchromium_src-2195b63a6464c9c9bea81e00ba0ba0e625b966cd.zip
chromium_src-2195b63a6464c9c9bea81e00ba0ba0e625b966cd.tar.gz
chromium_src-2195b63a6464c9c9bea81e00ba0ba0e625b966cd.tar.bz2
Remove useless compile assert.
Review URL: http://codereview.chromium.org/6979014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86697 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/base/mime_util.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/base/mime_util.cc b/net/base/mime_util.cc
index b6aa539..1ff023d 100644
--- a/net/base/mime_util.cc
+++ b/net/base/mime_util.cc
@@ -272,8 +272,6 @@ static const char* const supported_non_image_types[] = {
// Note: ADDING a new type here will probably render it AS HTML. This can
// result in cross site scripting.
};
-COMPILE_ASSERT(arraysize(supported_non_image_types) == 17,
- supported_non_images_types_must_equal_17);
// Mozilla 1.8 and WinIE 7 both accept text/javascript and text/ecmascript.
// Mozilla 1.8 accepts application/javascript, application/ecmascript, and