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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unintended exception message change Created 4 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
Index: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
index a059f7fb086270ce9aae5dc9f28daca4693c67e8..f446f3981fa316da1add1ee7bc753d7028d48e9b 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
@@ -186,7 +186,7 @@ FloatSize SVGImage::concreteObjectSize(const FloatSize& defaultObjectSize) const
if (intrinsicSizingInfo.hasWidth && intrinsicSizingInfo.hasHeight)
return intrinsicSizingInfo.size;
- if (svg->preserveAspectRatio()->currentValue()->align() == SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_NONE) {
+ if (svg->preserveAspectRatio()->currentValue()->align() == SVGPreserveAspectRatio::kSvgPreserveaspectratioNone) {
// TODO(davve): The intrinsic aspect ratio is not used to resolve a missing intrinsic width
// or height when preserveAspectRatio is none. It's unclear whether this is correct. See
// crbug.com/584172.

Powered by Google App Engine
This is Rietveld 408576698