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

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

Issue 130623002: Clean up static_cast<SVGFooElement*> by using toSVGFoo() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 11 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/SVGAltGlyphElement.h ('k') | Source/core/svg/SVGAltGlyphItemElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAltGlyphElement.cpp
diff --git a/Source/core/svg/SVGAltGlyphElement.cpp b/Source/core/svg/SVGAltGlyphElement.cpp
index 3de1575fbf668646d70dbc1ba455b1f9d0eb9df8..ee8ec836c923e686c76e4720ce660173c537ff5c 100644
--- a/Source/core/svg/SVGAltGlyphElement.cpp
+++ b/Source/core/svg/SVGAltGlyphElement.cpp
@@ -99,7 +99,7 @@ bool SVGAltGlyphElement::hasValidGlyphElements(Vector<AtomicString>& glyphNames)
}
if (element->hasTagName(SVGNames::altGlyphDefTag)
- && static_cast<SVGAltGlyphDefElement*>(element)->hasValidGlyphElements(glyphNames))
+ && toSVGAltGlyphDefElement(element)->hasValidGlyphElements(glyphNames))
return true;
return false;
« no previous file with comments | « Source/core/svg/SVGAltGlyphElement.h ('k') | Source/core/svg/SVGAltGlyphItemElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698