diff options
author | George Mount <mount@google.com> | 2011-10-10 13:06:48 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-10-10 13:06:48 -0700 |
commit | 62e2515c022e538e62d28aa1bc7ee4986a64a2a4 (patch) | |
tree | 4559eef802ece158a7f6a7f557b77003084ea989 /Source/WebCore | |
parent | d0d7e64a671e46579342231a654f9d0f729e4e73 (diff) | |
parent | e9662e189a25868741d68938da679091037bb10d (diff) | |
download | external_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.cpp | 6 |
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 |