Index: Source/core/editing/htmlediting.cpp |
diff --git a/Source/core/editing/htmlediting.cpp b/Source/core/editing/htmlediting.cpp |
index d8341a3f6fd2aa74970860a3b02003720dd3a323..8b5e040f7fb0d12d1e820f6ee2dadde554a62a8c 100644 |
--- a/Source/core/editing/htmlediting.cpp |
+++ b/Source/core/editing/htmlediting.cpp |
@@ -800,7 +800,7 @@ PassRefPtrWillBeRawPtr<HTMLElement> createDefaultParagraphElement(Document& docu |
return nullptr; |
} |
-PassRefPtrWillBeRawPtr<HTMLElement> createBreakElement(Document& document) |
+PassRefPtrWillBeRawPtr<HTMLBRElement> createBreakElement(Document& document) |
{ |
return HTMLBRElement::create(document); |
} |
@@ -876,6 +876,11 @@ PassRefPtrWillBeRawPtr<HTMLSpanElement> createTabSpanElement(Document& document) |
return createTabSpanElement(document, PassRefPtrWillBeRawPtr<Text>(nullptr)); |
} |
+PassRefPtrWillBeRawPtr<HTMLBRElement> createBlockPlaceholderElement(Document& document) |
+{ |
+ return toHTMLBRElement(document.createElement(brTag, false).get()); |
+} |
+ |
bool isNodeRendered(const Node *node) |
{ |
if (!node) |