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

Unified Diff: third_party/WebKit/Source/core/svg/SVGViewSpec.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/SVGViewSpec.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp b/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
index 028bbd0fbcb401f50828d1a1e54150e7a45706e8..eda466cd19516fe9696bbb1a969c6f83261f00ba 100644
--- a/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
@@ -79,8 +79,8 @@ void SVGViewSpec::reset()
m_transform->baseValue()->clear();
updateViewBox(FloatRect());
ASSERT(preserveAspectRatio());
- preserveAspectRatio()->baseValue()->setAlign(SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_XMIDYMID);
- preserveAspectRatio()->baseValue()->setMeetOrSlice(SVGPreserveAspectRatio::SVG_MEETORSLICE_MEET);
+ preserveAspectRatio()->baseValue()->setAlign(SVGPreserveAspectRatio::kSvgPreserveaspectratioXmidymid);
+ preserveAspectRatio()->baseValue()->setMeetOrSlice(SVGPreserveAspectRatio::kSvgMeetorsliceMeet);
m_viewTargetString = emptyString();
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGUnitTypes.cpp ('k') | third_party/WebKit/Source/core/svg/SVGZoomAndPan.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698