| Index: Source/core/events/TextEvent.h
|
| diff --git a/Source/core/events/TextEvent.h b/Source/core/events/TextEvent.h
|
| index cbb0afbb77ec381670c20bdaf3f3935164634fa0..34573720e15e4fe23293e56569b8fbe8cef54456 100644
|
| --- a/Source/core/events/TextEvent.h
|
| +++ b/Source/core/events/TextEvent.h
|
| @@ -39,14 +39,14 @@ namespace WebCore {
|
| public:
|
|
|
| static PassRefPtr<TextEvent> create();
|
| - static PassRefPtr<TextEvent> create(PassRefPtr<AbstractView>, const String& data, TextEventInputType = TextEventInputKeyboard);
|
| - static PassRefPtr<TextEvent> createForPlainTextPaste(PassRefPtr<AbstractView> view, const String& data, bool shouldSmartReplace);
|
| - static PassRefPtr<TextEvent> createForFragmentPaste(PassRefPtr<AbstractView> view, PassRefPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle);
|
| - static PassRefPtr<TextEvent> createForDrop(PassRefPtr<AbstractView> view, const String& data);
|
| + static PassRefPtr<TextEvent> create(PassRefPtrWillBeRawPtr<AbstractView>, const String& data, TextEventInputType = TextEventInputKeyboard);
|
| + static PassRefPtr<TextEvent> createForPlainTextPaste(PassRefPtrWillBeRawPtr<AbstractView>, const String& data, bool shouldSmartReplace);
|
| + static PassRefPtr<TextEvent> createForFragmentPaste(PassRefPtrWillBeRawPtr<AbstractView>, PassRefPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle);
|
| + static PassRefPtr<TextEvent> createForDrop(PassRefPtrWillBeRawPtr<AbstractView>, const String& data);
|
|
|
| virtual ~TextEvent();
|
|
|
| - void initTextEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView>, const String& data);
|
| + void initTextEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView>, const String& data);
|
|
|
| String data() const { return m_data; }
|
|
|
| @@ -66,8 +66,8 @@ namespace WebCore {
|
| private:
|
| TextEvent();
|
|
|
| - TextEvent(PassRefPtr<AbstractView>, const String& data, TextEventInputType = TextEventInputKeyboard);
|
| - TextEvent(PassRefPtr<AbstractView>, const String& data, PassRefPtr<DocumentFragment>,
|
| + TextEvent(PassRefPtrWillBeRawPtr<AbstractView>, const String& data, TextEventInputType = TextEventInputKeyboard);
|
| + TextEvent(PassRefPtrWillBeRawPtr<AbstractView>, const String& data, PassRefPtr<DocumentFragment>,
|
| bool shouldSmartReplace, bool shouldMatchStyle);
|
|
|
| TextEventInputType m_inputType;
|
|
|