Index: Source/core/editing/VisibleUnits.cpp |
diff --git a/Source/core/editing/VisibleUnits.cpp b/Source/core/editing/VisibleUnits.cpp |
index 3af707634d0d2be3ea63bd4a91cbb9f4b0d51e00..d8ba19bda0afc68ac6abd37f1e0a228154749941 100644 |
--- a/Source/core/editing/VisibleUnits.cpp |
+++ b/Source/core/editing/VisibleUnits.cpp |
@@ -1137,7 +1137,7 @@ VisiblePosition startOfParagraph(const VisiblePosition& c, EditingBoundaryCrossi |
node = n; |
offset = 0; |
n = NodeTraversal::previousPostOrder(*n, startBlock); |
- } else if (editingIgnoresContent(n) || isRenderedTable(n)) { |
+ } else if (editingIgnoresContent(n) || isRenderedTableElement(n)) { |
node = n; |
type = Position::PositionIsBeforeAnchor; |
n = n->previousSibling() ? n->previousSibling() : NodeTraversal::previousPostOrder(*n, startBlock); |
@@ -1215,7 +1215,7 @@ VisiblePosition endOfParagraph(const VisiblePosition &c, EditingBoundaryCrossing |
node = n; |
offset = r->caretMaxOffset(); |
n = NodeTraversal::next(*n, stayInsideBlock); |
- } else if (editingIgnoresContent(n) || isRenderedTable(n)) { |
+ } else if (editingIgnoresContent(n) || isRenderedTableElement(n)) { |
node = n; |
type = Position::PositionIsAfterAnchor; |
n = NodeTraversal::nextSkippingChildren(*n, stayInsideBlock); |