summaryrefslogtreecommitdiffstats
path: root/Source/WebCore
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2011-10-10 13:06:48 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-10-10 13:06:48 -0700
commit62e2515c022e538e62d28aa1bc7ee4986a64a2a4 (patch)
tree4559eef802ece158a7f6a7f557b77003084ea989 /Source/WebCore
parentd0d7e64a671e46579342231a654f9d0f729e4e73 (diff)
parente9662e189a25868741d68938da679091037bb10d (diff)
downloadexternal_webkit-62e2515c022e538e62d28aa1bc7ee4986a64a2a4.zip
external_webkit-62e2515c022e538e62d28aa1bc7ee4986a64a2a4.tar.gz
external_webkit-62e2515c022e538e62d28aa1bc7ee4986a64a2a4.tar.bz2
Merge "Fixed URL lookup for data URLs."
Diffstat (limited to 'Source/WebCore')
-rw-r--r--Source/WebCore/platform/graphics/android/ImageSourceAndroid.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/WebCore/platform/graphics/android/ImageSourceAndroid.cpp b/Source/WebCore/platform/graphics/android/ImageSourceAndroid.cpp
index 5a35dd4..e900369 100644
--- a/Source/WebCore/platform/graphics/android/ImageSourceAndroid.cpp
+++ b/Source/WebCore/platform/graphics/android/ImageSourceAndroid.cpp
@@ -207,11 +207,7 @@ void ImageSource::clearURL()
void ImageSource::setURL(const String& url)
{
- if (url.startsWith("data:")) {
- clearURL();
- } else {
- m_decoder.m_url.setUTF16(url.characters(), url.length());
- }
+ m_decoder.m_url.setUTF16(url.characters(), url.length());
}
#ifdef ANDROID_ANIMATED_GIF