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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTextControl.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/LayoutTextControl.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
index 67d63bd59207fae24d411f906a883aef89dc117b..405ec8ed26bcb40a429935678af58618593c03ba 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() == EOverflow::Scroll ||
- (style()->overflowInlineDirection() == EOverflow::Auto &&
+ if (style()->overflowInlineDirection() == EOverflow::kScroll ||
+ (style()->overflowInlineDirection() == EOverflow::kAuto &&
innerEditor->layoutObject()->style()->overflowWrap() ==
NormalOverflowWrap))
logicalHeight += scrollbarThickness();

Powered by Google App Engine
This is Rietveld 408576698