Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Unified Diff: trunk/Source/core/dom/Range.h

Issue 291233003: Revert 174382 "Oilpan: make DocumentFragment a heap allocated ob..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/Source/core/dom/Element.cpp ('k') | trunk/Source/core/dom/Range.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/dom/Range.h
===================================================================
--- trunk/Source/core/dom/Range.h (revision 174395)
+++ trunk/Source/core/dom/Range.h (working copy)
@@ -79,15 +79,15 @@
bool boundaryPointsValid() const;
bool intersectsNode(Node* refNode, ExceptionState&);
void deleteContents(ExceptionState&);
- PassRefPtrWillBeRawPtr<DocumentFragment> extractContents(ExceptionState&);
- PassRefPtrWillBeRawPtr<DocumentFragment> cloneContents(ExceptionState&);
+ PassRefPtr<DocumentFragment> extractContents(ExceptionState&);
+ PassRefPtr<DocumentFragment> cloneContents(ExceptionState&);
void insertNode(PassRefPtr<Node>, ExceptionState&);
String toString() const;
String toHTML() const;
String text() const;
- PassRefPtrWillBeRawPtr<DocumentFragment> createContextualFragment(const String& html, ExceptionState&);
+ PassRefPtr<DocumentFragment> createContextualFragment(const String& html, ExceptionState&);
void detach();
PassRefPtrWillBeRawPtr<Range> cloneRange() const;
@@ -159,8 +159,8 @@
void checkDeleteExtract(ExceptionState&);
enum ActionType { DELETE_CONTENTS, EXTRACT_CONTENTS, CLONE_CONTENTS };
- PassRefPtrWillBeRawPtr<DocumentFragment> processContents(ActionType, ExceptionState&);
- static PassRefPtr<Node> processContentsBetweenOffsets(ActionType, PassRefPtrWillBeRawPtr<DocumentFragment>, Node*, unsigned startOffset, unsigned endOffset, ExceptionState&);
+ PassRefPtr<DocumentFragment> processContents(ActionType, ExceptionState&);
+ static PassRefPtr<Node> processContentsBetweenOffsets(ActionType, PassRefPtr<DocumentFragment>, Node*, unsigned startOffset, unsigned endOffset, ExceptionState&);
static void processNodes(ActionType, Vector<RefPtr<Node> >&, PassRefPtr<Node> oldContainer, PassRefPtr<Node> newContainer, ExceptionState&);
enum ContentsProcessDirection { ProcessContentsForward, ProcessContentsBackward };
static PassRefPtr<Node> processAncestorsAndTheirSiblings(ActionType, Node* container, ContentsProcessDirection, PassRefPtr<Node> clonedContainer, Node* commonRoot, ExceptionState&);
« no previous file with comments | « trunk/Source/core/dom/Element.cpp ('k') | trunk/Source/core/dom/Range.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698