| Index: third_party/WebKit/Source/core/events/KeyboardEvent.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
|
| index 9295a008e39348a8f98e3ac7c162094252d75168..7f26e9fae8d6ea5aa527bebdd084bec44de0e97a 100644
|
| --- a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
|
| +++ b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
|
| @@ -59,11 +59,11 @@ static inline KeyboardEvent::KeyLocationCode keyLocationCode(const PlatformKeybo
|
| return KeyboardEvent::DOM_KEY_LOCATION_STANDARD;
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<KeyboardEvent> KeyboardEvent::create(ScriptState* scriptState, const AtomicString& type, const KeyboardEventInit& initializer)
|
| +RawPtr<KeyboardEvent> KeyboardEvent::create(ScriptState* scriptState, const AtomicString& type, const KeyboardEventInit& initializer)
|
| {
|
| if (scriptState->world().isIsolatedWorld())
|
| UIEventWithKeyState::didCreateEventInIsolatedWorld(initializer.ctrlKey(), initializer.altKey(), initializer.shiftKey(), initializer.metaKey());
|
| - return adoptRefWillBeNoop(new KeyboardEvent(type, initializer));
|
| + return (new KeyboardEvent(type, initializer));
|
| }
|
|
|
| KeyboardEvent::KeyboardEvent()
|
| @@ -192,7 +192,7 @@ void KeyboardEvent::initLocationModifiers(unsigned location)
|
| }
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<EventDispatchMediator> KeyboardEvent::createMediator()
|
| +RawPtr<EventDispatchMediator> KeyboardEvent::createMediator()
|
| {
|
| return KeyboardEventDispatchMediator::create(this);
|
| }
|
| @@ -202,12 +202,12 @@ DEFINE_TRACE(KeyboardEvent)
|
| UIEventWithKeyState::trace(visitor);
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<KeyboardEventDispatchMediator> KeyboardEventDispatchMediator::create(PassRefPtrWillBeRawPtr<KeyboardEvent> event)
|
| +RawPtr<KeyboardEventDispatchMediator> KeyboardEventDispatchMediator::create(RawPtr<KeyboardEvent> event)
|
| {
|
| - return adoptRefWillBeNoop(new KeyboardEventDispatchMediator(event));
|
| + return (new KeyboardEventDispatchMediator(event));
|
| }
|
|
|
| -KeyboardEventDispatchMediator::KeyboardEventDispatchMediator(PassRefPtrWillBeRawPtr<KeyboardEvent> event)
|
| +KeyboardEventDispatchMediator::KeyboardEventDispatchMediator(RawPtr<KeyboardEvent> event)
|
| : EventDispatchMediator(event)
|
| {
|
| }
|
|
|