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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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: third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp
index 502fb53f1927cf92d90615d408c9ae2fd2747375..013bfffca92ee027453cc0ecd680e38361e8a12d 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp
@@ -29,7 +29,7 @@ namespace blink {
inline SVGAnimateTransformElement::SVGAnimateTransformElement(Document& document)
: SVGAnimateElement(SVGNames::animateTransformTag, document)
- , m_type(SVG_TRANSFORM_UNKNOWN)
+ , m_type(kSvgTransformUnknown)
{
}
@@ -51,8 +51,8 @@ void SVGAnimateTransformElement::parseAttribute(const QualifiedName& name, const
{
if (name == SVGNames::typeAttr) {
m_type = parseTransformType(value);
- if (m_type == SVG_TRANSFORM_MATRIX)
- m_type = SVG_TRANSFORM_UNKNOWN;
+ if (m_type == kSvgTransformMatrix)
+ m_type = kSvgTransformUnknown;
return;
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAngleTearOff.cpp ('k') | third_party/WebKit/Source/core/svg/SVGClipPathElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698