Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1142)

Unified Diff: Source/core/svg/SVGImageLoader.cpp

Issue 1141323002: Drop ImageLoader::sourceURI (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGImageLoader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGImageLoader.cpp
diff --git a/Source/core/svg/SVGImageLoader.cpp b/Source/core/svg/SVGImageLoader.cpp
index 338cfd04bc7729675132c68e93a32a06dccf5edc..888d674d8b5017cba2f370c8b8209cc6b155e921 100644
--- a/Source/core/svg/SVGImageLoader.cpp
+++ b/Source/core/svg/SVGImageLoader.cpp
@@ -19,12 +19,10 @@
*/
#include "config.h"
-
#include "core/svg/SVGImageLoader.h"
#include "core/events/Event.h"
#include "core/fetch/ImageResource.h"
-#include "core/html/parser/HTMLParserIdioms.h"
#include "core/svg/SVGImageElement.h"
namespace blink {
@@ -44,12 +42,4 @@ void SVGImageLoader::dispatchLoadEvent()
}
}
-String SVGImageLoader::sourceURI(const AtomicString& attribute) const
-{
- KURL base = element()->baseURI();
- if (!base.isValid())
- base = element()->document().baseURI();
- return element()->document().completeURLWithOverride(stripLeadingAndTrailingHTMLSpaces(attribute), base);
-}
-
}
« no previous file with comments | « Source/core/svg/SVGImageLoader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698