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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.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/SVGLayoutSupport.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
index 7dbdbe85270ede585b034b9fe9eea41f2b074a47..9e096fb4e94ff2d1efd9c82cbf5d7f33cd80f901 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
@@ -374,8 +374,8 @@ bool SVGLayoutSupport::isOverflowHidden(const LayoutObject* object) {
// itself to the initial viewport size.
ASSERT(!object->isDocumentElement());
- return object->style()->overflowX() == OverflowHidden ||
- object->style()->overflowX() == OverflowScroll;
+ return object->style()->overflowX() == EOverflow::Hidden ||
+ object->style()->overflowX() == EOverflow::Scroll;
}
void SVGLayoutSupport::adjustVisualRectWithResources(
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp ('k') | third_party/WebKit/Source/core/page/SpatialNavigation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698