| Index: Source/core/events/KeyboardEvent.h
|
| diff --git a/Source/core/events/KeyboardEvent.h b/Source/core/events/KeyboardEvent.h
|
| index d8b784f41445977259d03dcde87ecb9ee1b30a50..63841c09aa4308191c02d4aaf803d8830487f6ce 100644
|
| --- a/Source/core/events/KeyboardEvent.h
|
| +++ b/Source/core/events/KeyboardEvent.h
|
| @@ -54,26 +54,26 @@ public:
|
| DOM_KEY_LOCATION_NUMPAD = 0x03
|
| };
|
|
|
| - static PassRefPtr<KeyboardEvent> create()
|
| + static PassRefPtrWillBeRawPtr<KeyboardEvent> create()
|
| {
|
| - return adoptRef(new KeyboardEvent);
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new KeyboardEvent);
|
| }
|
|
|
| - static PassRefPtr<KeyboardEvent> create(const PlatformKeyboardEvent& platformEvent, AbstractView* view)
|
| + static PassRefPtrWillBeRawPtr<KeyboardEvent> create(const PlatformKeyboardEvent& platformEvent, AbstractView* view)
|
| {
|
| - return adoptRef(new KeyboardEvent(platformEvent, view));
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new KeyboardEvent(platformEvent, view));
|
| }
|
|
|
| - static PassRefPtr<KeyboardEvent> create(const AtomicString& type, const KeyboardEventInit& initializer)
|
| + static PassRefPtrWillBeRawPtr<KeyboardEvent> create(const AtomicString& type, const KeyboardEventInit& initializer)
|
| {
|
| - return adoptRef(new KeyboardEvent(type, initializer));
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new KeyboardEvent(type, initializer));
|
| }
|
|
|
| - static PassRefPtr<KeyboardEvent> create(const AtomicString& type, bool canBubble, bool cancelable, AbstractView* view,
|
| + static PassRefPtrWillBeRawPtr<KeyboardEvent> create(const AtomicString& type, bool canBubble, bool cancelable, AbstractView* view,
|
| const String& keyIdentifier, unsigned location,
|
| bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey)
|
| {
|
| - return adoptRef(new KeyboardEvent(type, canBubble, cancelable, view, keyIdentifier, location,
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new KeyboardEvent(type, canBubble, cancelable, view, keyIdentifier, location,
|
| ctrlKey, altKey, shiftKey, metaKey, altGraphKey));
|
| }
|
|
|
|
|