| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| index 2e544acd655de43ef08ca26d6b31f133012a5af9..d1d806826a4c95e41ce2c27c51942bd5f22dd024 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| @@ -215,9 +215,10 @@ bool LayoutSVGRoot::shouldApplyViewportClip() const {
|
| // clipped. When the svg is stand-alone (isDocumentElement() == true) the
|
| // viewport clipping should always be applied, noting that the window
|
| // scrollbars should be hidden if overflow=hidden.
|
| - return style()->overflowX() == EOverflow::Hidden ||
|
| - style()->overflowX() == EOverflow::Auto ||
|
| - style()->overflowX() == EOverflow::Scroll || this->isDocumentElement();
|
| + return style()->overflowX() == EOverflow::kHidden ||
|
| + style()->overflowX() == EOverflow::kAuto ||
|
| + style()->overflowX() == EOverflow::kScroll ||
|
| + this->isDocumentElement();
|
| }
|
|
|
| LayoutRect LayoutSVGRoot::visualOverflowRect() const {
|
|
|