Index: Source/core/events/TextEvent.h |
diff --git a/Source/core/events/TextEvent.h b/Source/core/events/TextEvent.h |
index 5eb18f248671ba5a3cf35d1d8459df458f220ce7..fd15dcde25a2f76883bf808e4d6c86f3929ef9c6 100644 |
--- a/Source/core/events/TextEvent.h |
+++ b/Source/core/events/TextEvent.h |
@@ -40,7 +40,7 @@ namespace WebCore { |
static PassRefPtrWillBeRawPtr<TextEvent> create(); |
static PassRefPtrWillBeRawPtr<TextEvent> create(PassRefPtrWillBeRawPtr<AbstractView>, const String& data, TextEventInputType = TextEventInputKeyboard); |
static PassRefPtrWillBeRawPtr<TextEvent> createForPlainTextPaste(PassRefPtrWillBeRawPtr<AbstractView>, const String& data, bool shouldSmartReplace); |
- static PassRefPtrWillBeRawPtr<TextEvent> createForFragmentPaste(PassRefPtrWillBeRawPtr<AbstractView>, PassRefPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle); |
+ static PassRefPtrWillBeRawPtr<TextEvent> createForFragmentPaste(PassRefPtrWillBeRawPtr<AbstractView>, PassRefPtrWillBeRawPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle); |
static PassRefPtrWillBeRawPtr<TextEvent> createForDrop(PassRefPtrWillBeRawPtr<AbstractView>, const String& data); |
virtual ~TextEvent(); |
@@ -66,13 +66,13 @@ namespace WebCore { |
TextEvent(); |
TextEvent(PassRefPtrWillBeRawPtr<AbstractView>, const String& data, TextEventInputType = TextEventInputKeyboard); |
- TextEvent(PassRefPtrWillBeRawPtr<AbstractView>, const String& data, PassRefPtr<DocumentFragment>, |
+ TextEvent(PassRefPtrWillBeRawPtr<AbstractView>, const String& data, PassRefPtrWillBeRawPtr<DocumentFragment>, |
bool shouldSmartReplace, bool shouldMatchStyle); |
TextEventInputType m_inputType; |
String m_data; |
- RefPtr<DocumentFragment> m_pastingFragment; |
+ RefPtrWillBeMember<DocumentFragment> m_pastingFragment; |
bool m_shouldSmartReplace; |
bool m_shouldMatchStyle; |
}; |