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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTextControl.cpp

Issue 2882903002: Make EOverflowWrap an enum class. (Closed)
Patch Set: Rebase Created 3 years, 7 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 6d86cbc453444392b82e33257f842dddef2b0d3e..d2f9e4c6b5dda488fd12cb9613a1f878127acd73 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
@@ -132,7 +132,7 @@ void LayoutTextControl::ComputeLogicalHeight(
if (Style()->OverflowInlineDirection() == EOverflow::kScroll ||
(Style()->OverflowInlineDirection() == EOverflow::kAuto &&
inner_editor->GetLayoutObject()->Style()->OverflowWrap() ==
- kNormalOverflowWrap))
+ EOverflowWrap::kNormal))
logical_height += ScrollbarThickness();
// FIXME: The logical height of the inner text box should have been added

Powered by Google App Engine
This is Rietveld 408576698