Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Unified Diff: third_party/WebKit/Source/web/tests/KeyboardTest.cpp

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
« no previous file with comments | « third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp ('k') | third_party/WebKit/Source/web/tests/PrerenderingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698