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

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

Issue 133203003: Generate toSVGFooElement() for SVGFELight|AnimateMotion|FontFaceSrc|TextPositioningElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified 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
Index: Source/core/svg/SVGFontFaceElement.cpp
diff --git a/Source/core/svg/SVGFontFaceElement.cpp b/Source/core/svg/SVGFontFaceElement.cpp
index 0ed949ca99fc1bc6aec9656d8c55615eb0ab0251..7cdcffd39115c7508abec6d26552a78b56c7e60c 100644
--- a/Source/core/svg/SVGFontFaceElement.cpp
+++ b/Source/core/svg/SVGFontFaceElement.cpp
@@ -286,7 +286,7 @@ void SVGFontFaceElement::rebuildFontFace()
// we currently ignore all but the last src element, alternatively we could concat them
for (Node* child = lastChild(); child && !list; child = child->previousSibling()) {
if (child->hasTagName(font_face_srcTag)) {
- list = static_cast<SVGFontFaceSrcElement*>(child)->srcValue();
+ list = toSVGFontFaceSrcElement(child)->srcValue();
break;
}
}

Powered by Google App Engine
This is Rietveld 408576698