| Index: Source/core/editing/ReplaceSelectionCommand.cpp
|
| diff --git a/Source/core/editing/ReplaceSelectionCommand.cpp b/Source/core/editing/ReplaceSelectionCommand.cpp
|
| index 8b8f99f1294b1b0e365e04c3fd0b0dbcf2b34957..0e90ef5f2b7370c36c4dcaa3241a7d3f3d154ab1 100644
|
| --- a/Source/core/editing/ReplaceSelectionCommand.cpp
|
| +++ b/Source/core/editing/ReplaceSelectionCommand.cpp
|
| @@ -173,7 +173,7 @@ ReplacementFragment::ReplacementFragment(Document* document, DocumentFragment* f
|
| restoreAndRemoveTestRenderingNodesToFragment(holder.get());
|
|
|
| // Give the root a chance to change the text.
|
| - RefPtr<BeforeTextInsertedEvent> evt = BeforeTextInsertedEvent::create(text);
|
| + RefPtrWillBeRawPtr<BeforeTextInsertedEvent> evt = BeforeTextInsertedEvent::create(text);
|
| editableRoot->dispatchEvent(evt, ASSERT_NO_EXCEPTION);
|
| if (text != evt->text() || !editableRoot->rendererIsRichlyEditable()) {
|
| restoreAndRemoveTestRenderingNodesToFragment(holder.get());
|
|
|