diff options
author | George Mount <mount@google.com> | 2011-10-07 15:41:57 -0700 |
---|---|---|
committer | George Mount <mount@google.com> | 2011-10-07 15:54:04 -0700 |
commit | e9662e189a25868741d68938da679091037bb10d (patch) | |
tree | 4154a91e8b43fcaae8f4c1147c16ac0b2ae50723 /Source/WebCore | |
parent | 3b9c0bd54383c370c1e7d872751539371b1aef54 (diff) | |
download | external_webkit-e9662e189a25868741d68938da679091037bb10d.zip external_webkit-e9662e189a25868741d68938da679091037bb10d.tar.gz external_webkit-e9662e189a25868741d68938da679091037bb10d.tar.bz2 |
Fixed URL lookup for data URLs.
Bug 5383517
Data URLs were being stripped, preventing long click from doing anything.
Change-Id: I5eba97725375a155d39f2489f97714a2b8bc8189
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 |