summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShimeng (Simon) Wang <swang@google.com>2011-06-02 17:42:17 -0700
committerShimeng (Simon) Wang <swang@google.com>2011-06-02 17:42:17 -0700
commit083a1da09417e76081f7def3d083b9af2c606822 (patch)
treefbc28d18030384c1405a9458e9d9974b012c3961
parent223e069191deef3d0de4f2df671b7849dc2fe1e6 (diff)
downloadexternal_webkit-083a1da09417e76081f7def3d083b9af2c606822.zip
external_webkit-083a1da09417e76081f7def3d083b9af2c606822.tar.gz
external_webkit-083a1da09417e76081f7def3d083b9af2c606822.tar.bz2
Add image/webp to the mimeType list.
This will let a webp image url be displayed directly inside browser. issue: 3291572 Change-Id: I6870c5461c5d746d11457b7afba26cb277b25bbb
-rw-r--r--Source/WebCore/platform/MIMETypeRegistry.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/platform/MIMETypeRegistry.cpp b/Source/WebCore/platform/MIMETypeRegistry.cpp
index 4f9be57..e76906e 100644
--- a/Source/WebCore/platform/MIMETypeRegistry.cpp
+++ b/Source/WebCore/platform/MIMETypeRegistry.cpp
@@ -113,6 +113,7 @@ static void initializeSupportedImageMIMETypes()
#elif PLATFORM(ANDROID)
static const char* types[] = {
"image/jpeg",
+ "image/webp",
"image/png",
"image/gif",
"image/bmp",