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 9d4f92f428d0208595602b9fc438393f8c60619f..146800fc61680f5419758f39facf49b82bb67b53 100644 |
--- a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp |
@@ -26,7 +26,6 @@ |
#include "bindings/core/v8/ScriptState.h" |
#include "platform/PlatformKeyboardEvent.h" |
#include "platform/WindowsKeyboardCodes.h" |
-#include "wtf/PtrUtil.h" |
namespace blink { |
@@ -74,7 +73,7 @@ KeyboardEvent::KeyboardEvent() |
KeyboardEvent::KeyboardEvent(const PlatformKeyboardEvent& key, AbstractView* view) |
: UIEventWithKeyState(eventTypeForKeyboardEventType(key.type()), true, true, view, 0, key.getModifiers(), key.timestamp(), InputDeviceCapabilities::doesntFireTouchEventsSourceCapabilities()) |
- , m_keyEvent(wrapUnique(new PlatformKeyboardEvent(key))) |
+ , m_keyEvent(adoptPtr(new PlatformKeyboardEvent(key))) |
, m_keyIdentifier(key.keyIdentifier()) |
, m_code(key.code()) |
, m_key(key.key()) |