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

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

Issue 21032002: Introduce toSVGFontFaceElement, and use it (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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/SVGFontFaceFormatElement.cpp ('k') | Source/core/svg/SVGFontFaceUriElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFontFaceSrcElement.cpp
diff --git a/Source/core/svg/SVGFontFaceSrcElement.cpp b/Source/core/svg/SVGFontFaceSrcElement.cpp
index a658996d4e700228c108253bae8a4ab7078dee96..3a6489619d07c5b1a4d9613f9e022f9bbaf9dda1 100644
--- a/Source/core/svg/SVGFontFaceSrcElement.cpp
+++ b/Source/core/svg/SVGFontFaceSrcElement.cpp
@@ -64,7 +64,7 @@ void SVGFontFaceSrcElement::childrenChanged(bool changedByParser, Node* beforeCh
{
SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta);
if (parentNode() && parentNode()->hasTagName(font_faceTag))
- static_cast<SVGFontFaceElement*>(parentNode())->rebuildFontFace();
+ toSVGFontFaceElement(parentNode())->rebuildFontFace();
}
}
« no previous file with comments | « Source/core/svg/SVGFontFaceFormatElement.cpp ('k') | Source/core/svg/SVGFontFaceUriElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698