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

Unified Diff: trunk/Source/core/html/HTMLElement.cpp

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/html/HTMLElement.h ('k') | trunk/Source/core/html/track/vtt/VTTCue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/html/HTMLElement.cpp
===================================================================
--- trunk/Source/core/html/HTMLElement.cpp (revision 174395)
+++ trunk/Source/core/html/HTMLElement.cpp (working copy)
@@ -318,9 +318,9 @@
}
}
-PassRefPtrWillBeRawPtr<DocumentFragment> HTMLElement::textToFragment(const String& text, ExceptionState& exceptionState)
+PassRefPtr<DocumentFragment> HTMLElement::textToFragment(const String& text, ExceptionState& exceptionState)
{
- RefPtrWillBeRawPtr<DocumentFragment> fragment = DocumentFragment::create(document());
+ RefPtr<DocumentFragment> fragment = DocumentFragment::create(document());
unsigned i, length = text.length();
UChar c = 0;
for (unsigned start = 0; start < length; ) {
@@ -393,7 +393,7 @@
}
// Add text nodes and <br> elements.
- RefPtrWillBeRawPtr<DocumentFragment> fragment = textToFragment(text, exceptionState);
+ RefPtr<DocumentFragment> fragment = textToFragment(text, exceptionState);
if (!exceptionState.hadException())
replaceChildrenWithFragment(this, fragment.release(), exceptionState);
}
« no previous file with comments | « trunk/Source/core/html/HTMLElement.h ('k') | trunk/Source/core/html/track/vtt/VTTCue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698