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

Unified Diff: Source/core/svg/SVGImageElement.h

Issue 169103002: Drop [LegacyImplementedInBaseClass] from SVGURIReference IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
Index: Source/core/svg/SVGImageElement.h
diff --git a/Source/core/svg/SVGImageElement.h b/Source/core/svg/SVGImageElement.h
index ebc0f0f8392cc3e17ce57df2c12c899195c7e98e..f3bf32858efb34da39e3e2ee434ec8a5849f1899 100644
--- a/Source/core/svg/SVGImageElement.h
+++ b/Source/core/svg/SVGImageElement.h
@@ -43,13 +43,11 @@ public:
SVGAnimatedLength* width() const { return m_width.get(); }
SVGAnimatedLength* height() const { return m_height.get(); }
SVGAnimatedPreserveAspectRatio* preserveAspectRatio() { return m_preserveAspectRatio.get(); }
- SVGAnimatedString* href() { return m_href.get(); }
- const SVGAnimatedString* href() const { return m_href.get(); }
private:
explicit SVGImageElement(Document&);
- virtual bool isStructurallyExternal() const OVERRIDE { return !href()->currentValue()->value().isNull(); }
+ virtual bool isStructurallyExternal() const OVERRIDE { return !hrefString().isNull(); }
virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(); }
bool isSupportedAttribute(const QualifiedName&);
@@ -75,7 +73,6 @@ private:
RefPtr<SVGAnimatedLength> m_width;
RefPtr<SVGAnimatedLength> m_height;
RefPtr<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio;
- RefPtr<SVGAnimatedString> m_href;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGImageElement)
END_DECLARE_ANIMATED_PROPERTIES

Powered by Google App Engine
This is Rietveld 408576698