| 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);
|
| }
|
|
|