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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp

Issue 2569013006: Changed EOverflow to an enum class and renamed its members (Closed)
Patch Set: Rebase Created 4 years 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/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 {

Powered by Google App Engine
This is Rietveld 408576698