Index: third_party/WebKit/Source/web/tests/KeyboardTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/KeyboardTest.cpp b/third_party/WebKit/Source/web/tests/KeyboardTest.cpp |
index bf1877e073a13821662d4e37287b8809c4d4f470..d5275e0c814a5786ae6ae94f6379e4c875ac2a3c 100644 |
--- a/third_party/WebKit/Source/web/tests/KeyboardTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/KeyboardTest.cpp |
@@ -37,7 +37,6 @@ |
#include "public/web/WebInputEvent.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "web/WebInputEventConversion.h" |
-#include <memory> |
namespace blink { |
@@ -54,7 +53,7 @@ public: |
PlatformKeyboardEventBuilder evt(webKeyboardEvent); |
evt.setKeyType(keyType); |
KeyboardEvent* keyboardEvent = KeyboardEvent::create(evt, 0); |
- std::unique_ptr<Settings> settings = Settings::create(); |
+ OwnPtr<Settings> settings = Settings::create(); |
EditingBehavior behavior(settings->editingBehaviorType()); |
return behavior.interpretKeyEvent(*keyboardEvent); |
} |