| 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 32a49f95685630fca2b74af28af023249b9c7509..f99d22d0c70166a5206f04db85cb1be62f29aa22 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()
|
|
|