| Index: trunk/Source/core/editing/EditorCommand.cpp
|
| ===================================================================
|
| --- trunk/Source/core/editing/EditorCommand.cpp (revision 174395)
|
| +++ trunk/Source/core/editing/EditorCommand.cpp (working copy)
|
| @@ -191,7 +191,7 @@
|
| return false;
|
| }
|
|
|
| -static bool executeInsertFragment(LocalFrame& frame, PassRefPtrWillBeRawPtr<DocumentFragment> fragment)
|
| +static bool executeInsertFragment(LocalFrame& frame, PassRefPtr<DocumentFragment> fragment)
|
| {
|
| ASSERT(frame.document());
|
| ReplaceSelectionCommand::create(*frame.document(), fragment, ReplaceSelectionCommand::PreventNesting, EditActionUnspecified)->apply();
|
| @@ -201,7 +201,7 @@
|
| static bool executeInsertNode(LocalFrame& frame, PassRefPtr<Node> content)
|
| {
|
| ASSERT(frame.document());
|
| - RefPtrWillBeRawPtr<DocumentFragment> fragment = DocumentFragment::create(*frame.document());
|
| + RefPtr<DocumentFragment> fragment = DocumentFragment::create(*frame.document());
|
| TrackExceptionState exceptionState;
|
| fragment->appendChild(content, exceptionState);
|
| if (exceptionState.hadException())
|
|
|