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

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

Issue 2660423004: Rename EOverflow values with k prefix. (Closed)
Patch Set: Rebase Created 3 years, 11 months 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 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 {

Powered by Google App Engine
This is Rietveld 408576698