| 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 3fbc2df6a26356626559a7146c09d3d8ff2a0978..e2f15482a7a695534ecb6aa9a261d2caff7d2124 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| @@ -215,9 +215,9 @@ 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() == OverflowHidden ||
|
| - style()->overflowX() == OverflowAuto ||
|
| - style()->overflowX() == OverflowScroll || this->isDocumentElement();
|
| + return style()->overflowX() == EOverflow::Hidden ||
|
| + style()->overflowX() == EOverflow::Auto ||
|
| + style()->overflowX() == EOverflow::Scroll || this->isDocumentElement();
|
| }
|
|
|
| LayoutRect LayoutSVGRoot::visualOverflowRect() const {
|
|
|