Index: trunk/Source/core/events/TextEvent.cpp |
=================================================================== |
--- trunk/Source/core/events/TextEvent.cpp (revision 174395) |
+++ trunk/Source/core/events/TextEvent.cpp (working copy) |
@@ -46,7 +46,7 @@ |
return adoptRefWillBeNoop(new TextEvent(view, data, nullptr, shouldSmartReplace, false)); |
} |
-PassRefPtrWillBeRawPtr<TextEvent> TextEvent::createForFragmentPaste(PassRefPtrWillBeRawPtr<AbstractView> view, PassRefPtrWillBeRawPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle) |
+PassRefPtrWillBeRawPtr<TextEvent> TextEvent::createForFragmentPaste(PassRefPtrWillBeRawPtr<AbstractView> view, PassRefPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle) |
{ |
return adoptRefWillBeNoop(new TextEvent(view, "", data, shouldSmartReplace, shouldMatchStyle)); |
} |
@@ -75,7 +75,7 @@ |
ScriptWrappable::init(this); |
} |
-TextEvent::TextEvent(PassRefPtrWillBeRawPtr<AbstractView> view, const String& data, PassRefPtrWillBeRawPtr<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) |
@@ -108,7 +108,6 @@ |
void TextEvent::trace(Visitor* visitor) |
{ |
- visitor->trace(m_pastingFragment); |
UIEvent::trace(visitor); |
} |