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

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

Issue 2845893002: Make EBoxDecorationBreak an enum class. (Closed)
Patch Set: Rebase Created 3 years, 8 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/InlineFlowBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
index ecd674a4d7583721027ce5ba583f7140f6ef6cdd..3ccb629a003aa5a9be1522ea1f7ff8471c46fb8a 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
@@ -339,7 +339,7 @@ void InlineFlowBox::DetermineSpacingForFlowBoxes(
if (!line_box_list->FirstLineBox()->IsConstructed() &&
!GetLineLayoutItem().IsInlineElementContinuation()) {
if (GetLineLayoutItem().Style()->BoxDecorationBreak() ==
- kBoxDecorationBreakClone)
+ EBoxDecorationBreak::kClone)
include_left_edge = include_right_edge = true;
else if (ltr && line_box_list->FirstLineBox() == this)
include_left_edge = true;
@@ -368,7 +368,7 @@ void InlineFlowBox::DetermineSpacingForFlowBoxes(
// (4) The decoration break is set to clone therefore there will be
// borders on every sides.
if (GetLineLayoutItem().Style()->BoxDecorationBreak() ==
- kBoxDecorationBreakClone) {
+ EBoxDecorationBreak::kClone) {
include_left_edge = include_right_edge = true;
} else if (ltr) {
if (!NextLineBox() && ((last_line || is_last_object_on_line) &&

Powered by Google App Engine
This is Rietveld 408576698