| Index: Source/core/editing/EditorCommand.cpp
|
| diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp
|
| index 0ca0c7fde0c56c860c044e86191915e6a8aa94b0..b0ffaeb939535b96eba45fcf6c5dbf3d91237fb3 100644
|
| --- a/Source/core/editing/EditorCommand.cpp
|
| +++ b/Source/core/editing/EditorCommand.cpp
|
| @@ -191,7 +191,7 @@ static bool executeApplyParagraphStyle(LocalFrame& frame, EditorCommandSource so
|
| return false;
|
| }
|
|
|
| -static bool executeInsertFragment(LocalFrame& frame, PassRefPtr<DocumentFragment> fragment)
|
| +static bool executeInsertFragment(LocalFrame& frame, PassRefPtrWillBeRawPtr<DocumentFragment> fragment)
|
| {
|
| ASSERT(frame.document());
|
| ReplaceSelectionCommand::create(*frame.document(), fragment, ReplaceSelectionCommand::PreventNesting, EditActionUnspecified)->apply();
|
| @@ -201,7 +201,7 @@ static bool executeInsertFragment(LocalFrame& frame, PassRefPtr<DocumentFragment
|
| static bool executeInsertNode(LocalFrame& frame, PassRefPtr<Node> content)
|
| {
|
| ASSERT(frame.document());
|
| - RefPtr<DocumentFragment> fragment = DocumentFragment::create(*frame.document());
|
| + RefPtrWillBeRawPtr<DocumentFragment> fragment = DocumentFragment::create(*frame.document());
|
| TrackExceptionState exceptionState;
|
| fragment->appendChild(content, exceptionState);
|
| if (exceptionState.hadException())
|
|
|