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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTextControl.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/LayoutTextControl.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
index 86e6752409f2d24479e66c8daa9fd793bf877fc7..af4933052c3a708982f1b074518c319ea5345ee9 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
@@ -127,8 +127,8 @@ void LayoutTextControl::computeLogicalHeight(
// We are able to have a horizontal scrollbar if the overflow style is
// scroll, or if its auto and there's no word wrap.
- if (style()->overflowInlineDirection() == OverflowScroll ||
- (style()->overflowInlineDirection() == OverflowAuto &&
+ if (style()->overflowInlineDirection() == EOverflow::Scroll ||
+ (style()->overflowInlineDirection() == EOverflow::Auto &&
innerEditor->layoutObject()->style()->overflowWrap() ==
NormalOverflowWrap))
logicalHeight += scrollbarThickness();

Powered by Google App Engine
This is Rietveld 408576698