summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLImageLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLImageLoader.cpp')
-rw-r--r--WebCore/html/HTMLImageLoader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/html/HTMLImageLoader.cpp b/WebCore/html/HTMLImageLoader.cpp
index 6e31d9b..f620542 100644
--- a/WebCore/html/HTMLImageLoader.cpp
+++ b/WebCore/html/HTMLImageLoader.cpp
@@ -22,13 +22,13 @@
#include "config.h"
#include "HTMLImageLoader.h"
-#include "CSSHelper.h"
#include "CachedImage.h"
#include "Element.h"
#include "Event.h"
#include "EventNames.h"
#include "HTMLNames.h"
#include "HTMLObjectElement.h"
+#include "HTMLParserIdioms.h"
#if USE(JSC)
#include "JSDOMWindowBase.h"
@@ -55,7 +55,7 @@ void HTMLImageLoader::dispatchLoadEvent()
String HTMLImageLoader::sourceURI(const AtomicString& attr) const
{
- return deprecatedParseURL(attr);
+ return stripLeadingAndTrailingHTMLSpaces(attr);
}
void HTMLImageLoader::notifyFinished(CachedResource*)