Index: Source/core/editing/commands/CompositeEditCommand.cpp |
diff --git a/Source/core/editing/commands/CompositeEditCommand.cpp b/Source/core/editing/commands/CompositeEditCommand.cpp |
index b560cc5e29a825d97d8271120c646cbabcec30da..477acab8ed6d1dfbaf1137e622e1b6debc3a83b4 100644 |
--- a/Source/core/editing/commands/CompositeEditCommand.cpp |
+++ b/Source/core/editing/commands/CompositeEditCommand.cpp |
@@ -941,7 +941,7 @@ PassRefPtrWillBeRawPtr<HTMLElement> CompositeEditCommand::moveParagraphContentsT |
if (upstreamStart.anchorNode() == editableRootForPosition(upstreamStart)) { |
// If the block is the root editable element and it contains no visible content, create a new |
// block but don't try and move content into it, since there's nothing for moveParagraphs to move. |
- if (!Position::hasRenderedNonAnonymousDescendantsWithHeight(upstreamStart.anchorNode()->layoutObject())) |
+ if (!hasRenderedNonAnonymousDescendantsWithHeight(upstreamStart.anchorNode()->layoutObject())) |
return insertNewDefaultParagraphElementAt(upstreamStart); |
} else if (isBlock(upstreamEnd.anchorNode())) { |
if (!upstreamEnd.anchorNode()->isDescendantOf(upstreamStart.anchorNode())) { |