| Index: third_party/WebKit/Source/modules/gamepad/GamepadEvent.h
|
| diff --git a/third_party/WebKit/Source/modules/gamepad/GamepadEvent.h b/third_party/WebKit/Source/modules/gamepad/GamepadEvent.h
|
| index b1a1a5d1dd07e85d342c7b1c67c81ce751bc1cb0..1b245fa7fbf70b1b1fce52977fc1904bdda9a6c3 100644
|
| --- a/third_party/WebKit/Source/modules/gamepad/GamepadEvent.h
|
| +++ b/third_party/WebKit/Source/modules/gamepad/GamepadEvent.h
|
| @@ -14,17 +14,17 @@ namespace blink {
|
| class GamepadEvent final : public Event {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static PassRefPtrWillBeRawPtr<GamepadEvent> create()
|
| + static RawPtr<GamepadEvent> create()
|
| {
|
| - return adoptRefWillBeNoop(new GamepadEvent);
|
| + return (new GamepadEvent);
|
| }
|
| - static PassRefPtrWillBeRawPtr<GamepadEvent> create(const AtomicString& type, bool canBubble, bool cancelable, Gamepad* gamepad)
|
| + static RawPtr<GamepadEvent> create(const AtomicString& type, bool canBubble, bool cancelable, Gamepad* gamepad)
|
| {
|
| - return adoptRefWillBeNoop(new GamepadEvent(type, canBubble, cancelable, gamepad));
|
| + return (new GamepadEvent(type, canBubble, cancelable, gamepad));
|
| }
|
| - static PassRefPtrWillBeRawPtr<GamepadEvent> create(const AtomicString& type, const GamepadEventInit& initializer)
|
| + static RawPtr<GamepadEvent> create(const AtomicString& type, const GamepadEventInit& initializer)
|
| {
|
| - return adoptRefWillBeNoop(new GamepadEvent(type, initializer));
|
| + return (new GamepadEvent(type, initializer));
|
| }
|
| ~GamepadEvent() override;
|
|
|
| @@ -39,7 +39,7 @@ private:
|
| GamepadEvent(const AtomicString& type, bool canBubble, bool cancelable, Gamepad*);
|
| GamepadEvent(const AtomicString&, const GamepadEventInit&);
|
|
|
| - PersistentWillBeMember<Gamepad> m_gamepad;
|
| + Member<Gamepad> m_gamepad;
|
| };
|
|
|
| } // namespace blink
|
|
|