| Index: third_party/WebKit/Source/core/events/KeyboardEvent.h
|
| diff --git a/third_party/WebKit/Source/core/events/KeyboardEvent.h b/third_party/WebKit/Source/core/events/KeyboardEvent.h
|
| index 6165c23382661acc3a8f4a3a5f0df7fae285ddf8..ff1717ed304eb582b9e6d723d356a00f5fe40711 100644
|
| --- a/third_party/WebKit/Source/core/events/KeyboardEvent.h
|
| +++ b/third_party/WebKit/Source/core/events/KeyboardEvent.h
|
| @@ -44,23 +44,23 @@ public:
|
| DOM_KEY_LOCATION_NUMPAD = 0x03
|
| };
|
|
|
| - static PassRefPtrWillBeRawPtr<KeyboardEvent> create()
|
| + static RawPtr<KeyboardEvent> create()
|
| {
|
| - return adoptRefWillBeNoop(new KeyboardEvent);
|
| + return (new KeyboardEvent);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<KeyboardEvent> create(const PlatformKeyboardEvent& platformEvent, AbstractView* view)
|
| + static RawPtr<KeyboardEvent> create(const PlatformKeyboardEvent& platformEvent, AbstractView* view)
|
| {
|
| - return adoptRefWillBeNoop(new KeyboardEvent(platformEvent, view));
|
| + return (new KeyboardEvent(platformEvent, view));
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<KeyboardEvent> create(ScriptState*, const AtomicString& type, const KeyboardEventInit&);
|
| + static RawPtr<KeyboardEvent> create(ScriptState*, const AtomicString& type, const KeyboardEventInit&);
|
|
|
| - static PassRefPtrWillBeRawPtr<KeyboardEvent> create(const AtomicString& type, bool canBubble, bool cancelable, AbstractView* view,
|
| + static RawPtr<KeyboardEvent> create(const AtomicString& type, bool canBubble, bool cancelable, AbstractView* view,
|
| const String& keyIdentifier, const String& code, const String& key, unsigned location,
|
| PlatformEvent::Modifiers modifiers, double platformTimeStamp)
|
| {
|
| - return adoptRefWillBeNoop(new KeyboardEvent(type, canBubble, cancelable, view, keyIdentifier, code, key, location,
|
| + return (new KeyboardEvent(type, canBubble, cancelable, view, keyIdentifier, code, key, location,
|
| modifiers, platformTimeStamp));
|
| }
|
|
|
| @@ -86,7 +86,7 @@ public:
|
| bool isKeyboardEvent() const override;
|
| int which() const override;
|
|
|
| - PassRefPtrWillBeRawPtr<EventDispatchMediator> createMediator() override;
|
| + RawPtr<EventDispatchMediator> createMediator() override;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| @@ -109,9 +109,9 @@ private:
|
|
|
| class KeyboardEventDispatchMediator : public EventDispatchMediator {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<KeyboardEventDispatchMediator> create(PassRefPtrWillBeRawPtr<KeyboardEvent>);
|
| + static RawPtr<KeyboardEventDispatchMediator> create(RawPtr<KeyboardEvent>);
|
| private:
|
| - explicit KeyboardEventDispatchMediator(PassRefPtrWillBeRawPtr<KeyboardEvent>);
|
| + explicit KeyboardEventDispatchMediator(RawPtr<KeyboardEvent>);
|
| bool dispatchEvent(EventDispatcher&) const override;
|
| };
|
|
|
|
|