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

Unified Diff: third_party/WebKit/Source/platform/WaitableEvent.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/platform/WaitableEvent.h
diff --git a/third_party/WebKit/Source/platform/WaitableEvent.h b/third_party/WebKit/Source/platform/WaitableEvent.h
index 8b227cce3f10899f6d6dcab3263ac6fd16ea794b..dad4a30a35b4211d082593cec2b7944e683bf72d 100644
--- a/third_party/WebKit/Source/platform/WaitableEvent.h
+++ b/third_party/WebKit/Source/platform/WaitableEvent.h
@@ -32,8 +32,8 @@
#define WaitableEvent_h
#include "platform/PlatformExport.h"
-#include "wtf/OwnPtr.h"
#include "wtf/Vector.h"
+#include <memory>
namespace base {
class WaitableEvent;
@@ -78,7 +78,7 @@ private:
WaitableEvent(const WaitableEvent&) = delete;
void operator=(const WaitableEvent&) = delete;
- OwnPtr<base::WaitableEvent> m_impl;
+ std::unique_ptr<base::WaitableEvent> m_impl;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/TracedValueTest.cpp ('k') | third_party/WebKit/Source/platform/WaitableEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698