Index: third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp b/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
index 2c75b1cef7e232d54976e0c9489c2b207d7edd64..42f6b6d691d3be0f8ee2288c2fb1ee0976572bcd 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
@@ -276,8 +276,9 @@ static void WriteStyle(TextStream& ts, const LayoutObject& object) { |
if (!object.LocalSVGTransform().IsIdentity()) |
WriteNameValuePair(ts, "transform", object.LocalSVGTransform()); |
- WriteIfNotDefault(ts, "image rendering", style.ImageRendering(), |
- ComputedStyle::InitialImageRendering()); |
+ WriteIfNotDefault(ts, "image rendering", |
+ static_cast<int>(style.ImageRendering()), |
+ static_cast<int>(ComputedStyle::InitialImageRendering())); |
WriteIfNotDefault(ts, "opacity", style.Opacity(), |
ComputedStyle::InitialOpacity()); |
if (object.IsSVGShape()) { |