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

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

Issue 62083002: Remove support for the externalResourcesRequired attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
Index: Source/core/svg/SVGImageLoader.cpp
diff --git a/Source/core/svg/SVGImageLoader.cpp b/Source/core/svg/SVGImageLoader.cpp
index e889c61b149dc3a2a1bf8dd66c0644e71f12aef9..bced77a862cabf92e580875567b1c5a1f58d300c 100644
--- a/Source/core/svg/SVGImageLoader.cpp
+++ b/Source/core/svg/SVGImageLoader.cpp
@@ -39,11 +39,6 @@ void SVGImageLoader::dispatchLoadEvent()
{
if (image()->errorOccurred())
element()->dispatchEvent(Event::create(EventTypeNames::error));
- else {
- SVGImageElement* imageElement = toSVGImageElement(element());
- if (imageElement->externalResourcesRequiredBaseValue())
- imageElement->sendSVGLoadEventIfPossible(true);
Stephen Chennney 2013/11/06 16:45:43 Don't we always need to dispatch a load event now,
Erik Dahlström (inactive) 2013/11/07 09:38:04 My preference would be to dispatch the image load
- }
}
String SVGImageLoader::sourceURI(const AtomicString& attribute) const

Powered by Google App Engine
This is Rietveld 408576698