Index: Source/core/editing/Editor.cpp |
diff --git a/Source/core/editing/Editor.cpp b/Source/core/editing/Editor.cpp |
index 7ec6b38d81c17f9b607add4e299328b7c95674cf..94c70cdae2c5f0b20d04cc663dd1a5ac318f6707 100644 |
--- a/Source/core/editing/Editor.cpp |
+++ b/Source/core/editing/Editor.cpp |
@@ -459,7 +459,7 @@ bool Editor::dispatchCPPEvent(const AtomicString &eventType, ClipboardAccessPoli |
if (!target) |
return true; |
- RefPtr<Clipboard> clipboard = Clipboard::create( |
+ RefPtrWillBeRawPtr<Clipboard> clipboard = Clipboard::create( |
Clipboard::CopyAndPaste, |
policy, |
policy == ClipboardWritable |
@@ -470,7 +470,7 @@ bool Editor::dispatchCPPEvent(const AtomicString &eventType, ClipboardAccessPoli |
target->dispatchEvent(evt, IGNORE_EXCEPTION); |
bool noDefaultProcessing = evt->defaultPrevented(); |
if (noDefaultProcessing && policy == ClipboardWritable) { |
- RefPtr<DataObject> dataObject = clipboard->dataObject(); |
+ RefPtrWillBeRawPtr<DataObject> dataObject = clipboard->dataObject(); |
Pasteboard::generalPasteboard()->writeDataObject(dataObject.release()); |
} |