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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp

Issue 2882103002: Make ELineBreak 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/line/InlineTextBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
index e4d74e82c235958022d425020c91596b0d0241fc..0443beff8f448c558c0764ce05cedf32997c82b8 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
@@ -183,7 +183,8 @@ SelectionState InlineTextBox::GetSelectionState() const {
// FIXME: Remove -webkit-line-break: LineBreakAfterWhiteSpace.
int end_of_line_adjustment_for_css_line_break =
- GetLineLayoutItem().Style()->GetLineBreak() == kLineBreakAfterWhiteSpace
+ GetLineLayoutItem().Style()->GetLineBreak() ==
+ LineBreak::kAfterWhiteSpace
? -1
: 0;
bool start = (state != SelectionEnd && start_pos >= start_ &&
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698