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