| 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 1ce2aa483d83daa4f34082812efedd56c8d1ff31..675c646fe1e0f0087c862d0db4dc185920b0613e 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| @@ -179,9 +179,9 @@ bool LayoutSVGRoot::shouldApplyViewportClip() const
|
| // the outermost svg is clipped if auto, and svg document roots are always 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() == OHIDDEN
|
| - || style()->overflowX() == OAUTO
|
| - || style()->overflowX() == OSCROLL
|
| + return style()->overflowX() == OverflowHidden
|
| + || style()->overflowX() == OverflowAuto
|
| + || style()->overflowX() == OverflowScroll
|
| || this->isDocumentElement();
|
| }
|
|
|
|
|