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

Unified Diff: third_party/WebKit/Source/core/svg/SVGUnitTypes.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/SVGUnitTypes.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGUnitTypes.cpp b/third_party/WebKit/Source/core/svg/SVGUnitTypes.cpp
index 2d778fa0346b212190a11bde15b290175118b386..c91a6e07a328e723a8bc9e690a935d5e14d3bfb7 100644
--- a/third_party/WebKit/Source/core/svg/SVGUnitTypes.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGUnitTypes.cpp
@@ -36,8 +36,8 @@ template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGUnitType
{
DEFINE_STATIC_LOCAL(SVGEnumerationStringEntries, entries, ());
if (entries.isEmpty()) {
- entries.append(std::make_pair(SVGUnitTypes::SVG_UNIT_TYPE_USERSPACEONUSE, "userSpaceOnUse"));
- entries.append(std::make_pair(SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX, "objectBoundingBox"));
+ entries.append(std::make_pair(SVGUnitTypes::kSvgUnitTypeUserspaceonuse, "userSpaceOnUse"));
+ entries.append(std::make_pair(SVGUnitTypes::kSvgUnitTypeObjectboundingbox, "objectBoundingBox"));
}
return entries;
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGUnitTypes.h ('k') | third_party/WebKit/Source/core/svg/SVGViewSpec.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698