| Index: Source/core/editing/htmlediting.cpp
|
| diff --git a/Source/core/editing/htmlediting.cpp b/Source/core/editing/htmlediting.cpp
|
| index ee9eb74b16607fb50b00e10fe267327558b69752..6fc42c46055792237fe3c60dcc8547d2900e3a72 100644
|
| --- a/Source/core/editing/htmlediting.cpp
|
| +++ b/Source/core/editing/htmlediting.cpp
|
| @@ -820,9 +820,9 @@ PassRefPtr<HTMLElement> createDefaultParagraphElement(Document& document)
|
| {
|
| switch (document.frame()->editor().defaultParagraphSeparator()) {
|
| case EditorParagraphSeparatorIsDiv:
|
| - return HTMLDivElement::create(&document);
|
| + return HTMLDivElement::create(document);
|
| case EditorParagraphSeparatorIsP:
|
| - return HTMLParagraphElement::create(&document);
|
| + return HTMLParagraphElement::create(document);
|
| }
|
|
|
| ASSERT_NOT_REACHED();
|
| @@ -831,22 +831,22 @@ PassRefPtr<HTMLElement> createDefaultParagraphElement(Document& document)
|
|
|
| PassRefPtr<HTMLElement> createBreakElement(Document& document)
|
| {
|
| - return HTMLBRElement::create(&document);
|
| + return HTMLBRElement::create(document);
|
| }
|
|
|
| PassRefPtr<HTMLElement> createOrderedListElement(Document& document)
|
| {
|
| - return HTMLOListElement::create(&document);
|
| + return HTMLOListElement::create(document);
|
| }
|
|
|
| PassRefPtr<HTMLElement> createUnorderedListElement(Document& document)
|
| {
|
| - return HTMLUListElement::create(&document);
|
| + return HTMLUListElement::create(document);
|
| }
|
|
|
| PassRefPtr<HTMLElement> createListItemElement(Document& document)
|
| {
|
| - return HTMLLIElement::create(&document);
|
| + return HTMLLIElement::create(document);
|
| }
|
|
|
| PassRefPtr<HTMLElement> createHTMLElement(Document& document, const QualifiedName& name)
|
|
|