| Index: Source/core/editing/htmlediting.cpp
|
| diff --git a/Source/core/editing/htmlediting.cpp b/Source/core/editing/htmlediting.cpp
|
| index fcb80702b7ac39287536e17357279cce0afbecf0..939b88872cdcf5b9319f38454114b71655651f86 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)
|
|
|