Index: Source/core/events/TextEvent.cpp |
diff --git a/Source/core/events/TextEvent.cpp b/Source/core/events/TextEvent.cpp |
index 1347c64cd15135367d076dd7bf16a92f4d4085dd..3965760a5dde75573e38154c5daf1261592c6e84 100644 |
--- a/Source/core/events/TextEvent.cpp |
+++ b/Source/core/events/TextEvent.cpp |
@@ -36,22 +36,22 @@ PassRefPtr<TextEvent> TextEvent::create() |
return adoptRef(new TextEvent); |
} |
-PassRefPtr<TextEvent> TextEvent::create(PassRefPtr<AbstractView> view, const String& data, TextEventInputType inputType) |
+PassRefPtr<TextEvent> TextEvent::create(PassRefPtrWillBeRawPtr<AbstractView> view, const String& data, TextEventInputType inputType) |
{ |
return adoptRef(new TextEvent(view, data, inputType)); |
} |
-PassRefPtr<TextEvent> TextEvent::createForPlainTextPaste(PassRefPtr<AbstractView> view, const String& data, bool shouldSmartReplace) |
+PassRefPtr<TextEvent> TextEvent::createForPlainTextPaste(PassRefPtrWillBeRawPtr<AbstractView> view, const String& data, bool shouldSmartReplace) |
{ |
return adoptRef(new TextEvent(view, data, nullptr, shouldSmartReplace, false)); |
} |
-PassRefPtr<TextEvent> TextEvent::createForFragmentPaste(PassRefPtr<AbstractView> view, PassRefPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle) |
+PassRefPtr<TextEvent> TextEvent::createForFragmentPaste(PassRefPtrWillBeRawPtr<AbstractView> view, PassRefPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle) |
{ |
return adoptRef(new TextEvent(view, "", data, shouldSmartReplace, shouldMatchStyle)); |
} |
-PassRefPtr<TextEvent> TextEvent::createForDrop(PassRefPtr<AbstractView> view, const String& data) |
+PassRefPtr<TextEvent> TextEvent::createForDrop(PassRefPtrWillBeRawPtr<AbstractView> view, const String& data) |
{ |
return adoptRef(new TextEvent(view, data, TextEventInputDrop)); |
} |
@@ -64,7 +64,7 @@ TextEvent::TextEvent() |
ScriptWrappable::init(this); |
} |
-TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, TextEventInputType inputType) |
+TextEvent::TextEvent(PassRefPtrWillBeRawPtr<AbstractView> view, const String& data, TextEventInputType inputType) |
: UIEvent(EventTypeNames::textInput, true, true, view, 0) |
, m_inputType(inputType) |
, m_data(data) |
@@ -75,7 +75,7 @@ TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, TextEven |
ScriptWrappable::init(this); |
} |
-TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, PassRefPtr<DocumentFragment> pastingFragment, |
+TextEvent::TextEvent(PassRefPtrWillBeRawPtr<AbstractView> view, const String& data, PassRefPtr<DocumentFragment> pastingFragment, |
bool shouldSmartReplace, bool shouldMatchStyle) |
: UIEvent(EventTypeNames::textInput, true, true, view, 0) |
, m_inputType(TextEventInputPaste) |
@@ -91,7 +91,7 @@ TextEvent::~TextEvent() |
{ |
} |
-void TextEvent::initTextEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView> view, const String& data) |
+void TextEvent::initTextEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view, const String& data) |
{ |
if (dispatched()) |
return; |