Index: Source/core/editing/htmlediting.h |
diff --git a/Source/core/editing/htmlediting.h b/Source/core/editing/htmlediting.h |
index 7937af3151149c3dd4115eed131fce041ab95e88..69716337354a33ba8e95dc6f0be4b6aacf91c1f9 100644 |
--- a/Source/core/editing/htmlediting.h |
+++ b/Source/core/editing/htmlediting.h |
@@ -188,7 +188,7 @@ VisiblePosition visiblePositionForIndex(int index, ContainerNode* scope); |
// Functions returning Range |
-PassRefPtr<Range> createRange(Document*, const VisiblePosition& start, const VisiblePosition& end, ExceptionState&); |
+PassRefPtr<Range> createRange(Document&, const VisiblePosition& start, const VisiblePosition& end, ExceptionState&); |
// ------------------------------------------------------------------------- |
// HTMLElement |
@@ -196,13 +196,13 @@ PassRefPtr<Range> createRange(Document*, const VisiblePosition& start, const Vis |
// Functions returning HTMLElement |
-PassRefPtr<HTMLElement> createDefaultParagraphElement(Document*); |
-PassRefPtr<HTMLElement> createBreakElement(Document*); |
-PassRefPtr<HTMLElement> createOrderedListElement(Document*); |
-PassRefPtr<HTMLElement> createUnorderedListElement(Document*); |
-PassRefPtr<HTMLElement> createListItemElement(Document*); |
-PassRefPtr<HTMLElement> createHTMLElement(Document*, const QualifiedName&); |
-PassRefPtr<HTMLElement> createHTMLElement(Document*, const AtomicString&); |
+PassRefPtr<HTMLElement> createDefaultParagraphElement(Document&); |
+PassRefPtr<HTMLElement> createBreakElement(Document&); |
+PassRefPtr<HTMLElement> createOrderedListElement(Document&); |
+PassRefPtr<HTMLElement> createUnorderedListElement(Document&); |
+PassRefPtr<HTMLElement> createListItemElement(Document&); |
+PassRefPtr<HTMLElement> createHTMLElement(Document&, const QualifiedName&); |
+PassRefPtr<HTMLElement> createHTMLElement(Document&, const AtomicString&); |
HTMLElement* enclosingList(Node*); |
HTMLElement* outermostEnclosingList(Node*, Node* rootList = 0); |
@@ -214,10 +214,10 @@ Node* enclosingListChild(Node*); |
// Functions returning Element |
-PassRefPtr<Element> createTabSpanElement(Document*); |
-PassRefPtr<Element> createTabSpanElement(Document*, PassRefPtr<Node> tabTextNode); |
-PassRefPtr<Element> createTabSpanElement(Document*, const String& tabText); |
-PassRefPtr<Element> createBlockPlaceholderElement(Document*); |
+PassRefPtr<Element> createTabSpanElement(Document&); |
+PassRefPtr<Element> createTabSpanElement(Document&, PassRefPtr<Node> tabTextNode); |
+PassRefPtr<Element> createTabSpanElement(Document&, const String& tabText); |
+PassRefPtr<Element> createBlockPlaceholderElement(Document&); |
Element* editableRootForPosition(const Position&, EditableType = ContentIsEditable); |
Element* unsplittableElementForPosition(const Position&); |