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

Unified Diff: Source/core/svg/SVGFontFaceFormatElement.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/SVGFontFaceElement.h ('k') | Source/core/svg/SVGFontFaceSrcElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFontFaceFormatElement.cpp
diff --git a/Source/core/svg/SVGFontFaceFormatElement.cpp b/Source/core/svg/SVGFontFaceFormatElement.cpp
index c3835d1353bdd2bffe71aa25a42ae5f9f9b84de6..ed8347236ec6cb87b4ad1c1a26f4cebafbb14bb0 100644
--- a/Source/core/svg/SVGFontFaceFormatElement.cpp
+++ b/Source/core/svg/SVGFontFaceFormatElement.cpp
@@ -54,7 +54,7 @@ void SVGFontFaceFormatElement::childrenChanged(bool changedByParser, Node* befor
ancestor = ancestor->parentNode();
if (ancestor && ancestor->hasTagName(font_faceTag))
- static_cast<SVGFontFaceElement*>(ancestor)->rebuildFontFace();
+ toSVGFontFaceElement(ancestor)->rebuildFontFace();
}
}
« no previous file with comments | « Source/core/svg/SVGFontFaceElement.h ('k') | Source/core/svg/SVGFontFaceSrcElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698