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 b29697600454fc8084e3c18a6dccf8a9d188bf41..3d285021190464396dfca1e7affc0be0e8bbc6b0 100644 |
--- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
@@ -909,8 +909,8 @@ LayoutUnit InlineFlowBox::FarthestPositionForUnderline( |
// If the text decoration isn't in effect on the child, it must be outside |
// of |decorationObject|. |
- if (!(curr->LineStyleRef().TextDecorationsInEffect() & |
- kTextDecorationUnderline)) |
+ if (!EnumHasFlags(curr->LineStyleRef().TextDecorationsInEffect(), |
+ TextDecoration::kUnderline)) |
continue; |
if (decorating_box && decorating_box.IsLayoutInline() && |