Index: third_party/WebKit/Source/core/editing/EditingUtilities.cpp |
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp |
index 3d52f33c4ce7ab1e423ee88a80188faa17a9049f..cee6af4250350e3e9fa3d4a8ca7494d6b44bef89 100644 |
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp |
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp |
@@ -956,9 +956,10 @@ TextDirection directionOfEnclosingBlockAlgorithm( |
position.computeContainerNode()), |
CannotCrossEditingBoundary); |
if (!enclosingBlockElement) |
- return TextDirection::Ltr; |
+ return TextDirection::kLtr; |
LayoutObject* layoutObject = enclosingBlockElement->layoutObject(); |
- return layoutObject ? layoutObject->style()->direction() : TextDirection::Ltr; |
+ return layoutObject ? layoutObject->style()->direction() |
+ : TextDirection::kLtr; |
} |
TextDirection directionOfEnclosingBlock(const Position& position) { |
@@ -971,7 +972,7 @@ TextDirection directionOfEnclosingBlock(const PositionInFlatTree& position) { |
} |
TextDirection primaryDirectionOf(const Node& node) { |
- TextDirection primaryDirection = TextDirection::Ltr; |
+ TextDirection primaryDirection = TextDirection::kLtr; |
for (const LayoutObject* r = node.layoutObject(); r; r = r->parent()) { |
if (r->isLayoutBlockFlow()) { |
primaryDirection = r->style()->direction(); |
@@ -1593,7 +1594,7 @@ bool isNodeRendered(const Node& node) { |
if (!layoutObject) |
return false; |
- return layoutObject->style()->visibility() == EVisibility::Visible; |
+ return layoutObject->style()->visibility() == EVisibility::kVisible; |
} |
// return first preceding DOM position rendered at a different location, or |