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

Unified Diff: third_party/WebKit/Source/core/inspector/ThreadDebugger.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/inspector/ThreadDebugger.h
diff --git a/third_party/WebKit/Source/core/inspector/ThreadDebugger.h b/third_party/WebKit/Source/core/inspector/ThreadDebugger.h
index 3c2aa53667629576172fdcb9a450b81de3097127..766ef8ec152894d1823fe46fc09bc8c6086e5e3b 100644
--- a/third_party/WebKit/Source/core/inspector/ThreadDebugger.h
+++ b/third_party/WebKit/Source/core/inspector/ThreadDebugger.h
@@ -12,7 +12,7 @@
#include "platform/v8_inspector/public/V8DebuggerClient.h"
#include "wtf/Forward.h"
#include "wtf/Vector.h"
-
+#include <memory>
#include <v8.h>
namespace blink {
@@ -67,10 +67,10 @@ private:
static void getEventListenersCallback(const v8::FunctionCallbackInfo<v8::Value>&);
- Vector<OwnPtr<Timer<ThreadDebugger>>> m_timers;
+ Vector<std::unique_ptr<Timer<ThreadDebugger>>> m_timers;
Vector<V8DebuggerClient::TimerCallback> m_timerCallbacks;
Vector<void*> m_timerData;
- OwnPtr<UserGestureIndicator> m_userGestureIndicator;
+ std::unique_ptr<UserGestureIndicator> m_userGestureIndicator;
v8::Global<v8::Function> m_eventLogFunction;
};

Powered by Google App Engine
This is Rietveld 408576698