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

Unified Diff: third_party/WebKit/Source/core/events/KeyboardEvent.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. 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/core/events/KeyboardEvent.h
diff --git a/third_party/WebKit/Source/core/events/KeyboardEvent.h b/third_party/WebKit/Source/core/events/KeyboardEvent.h
index e3f075ebc0285e83c1c840eb39946eaf6a6f888a..c1f974563cde917508a140e70c3a447921bea5d6 100644
--- a/third_party/WebKit/Source/core/events/KeyboardEvent.h
+++ b/third_party/WebKit/Source/core/events/KeyboardEvent.h
@@ -27,6 +27,7 @@
#include "core/CoreExport.h"
#include "core/events/KeyboardEventInit.h"
#include "core/events/UIEventWithKeyState.h"
+#include <memory>
namespace blink {
@@ -97,7 +98,7 @@ private:
void initLocationModifiers(unsigned location);
- OwnPtr<PlatformKeyboardEvent> m_keyEvent;
+ std::unique_ptr<PlatformKeyboardEvent> m_keyEvent;
String m_keyIdentifier;
String m_code;
String m_key;
« no previous file with comments | « third_party/WebKit/Source/core/events/GenericEventQueue.h ('k') | third_party/WebKit/Source/core/events/KeyboardEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698