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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8StackTraceImpl.h

Issue 1758313002: DevTools: introduce collections shim to be backed by non-wtf in v8_inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing Created 4 years, 10 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/v8_inspector/V8StackTraceImpl.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8StackTraceImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8StackTraceImpl.h
index 711f4144c162bd1b6690b4c3c8f3e79b201f74d1..5edf63d03d621b418426055ee9d8dc4fefb127cf 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8StackTraceImpl.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8StackTraceImpl.h
@@ -5,9 +5,9 @@
#ifndef V8StackTraceImpl_h
#define V8StackTraceImpl_h
+#include "platform/inspector_protocol/Collections.h"
#include "platform/v8_inspector/public/V8StackTrace.h"
#include "wtf/PassOwnPtr.h"
-#include "wtf/Vector.h"
namespace blink {
@@ -41,7 +41,7 @@ public:
int m_columnNumber;
};
- static PassOwnPtr<V8StackTraceImpl> create(const String& description, Vector<Frame>&, PassOwnPtr<V8StackTraceImpl>);
+ static PassOwnPtr<V8StackTraceImpl> create(const String& description, protocol::Vector<Frame>&, PassOwnPtr<V8StackTraceImpl>);
static PassOwnPtr<V8StackTraceImpl> create(V8DebuggerAgentImpl*, v8::Local<v8::StackTrace>, size_t maxStackSize, const String& description = String());
static PassOwnPtr<V8StackTraceImpl> capture(V8DebuggerAgentImpl*, size_t maxStackSize, const String& description = String());
static PassOwnPtr<V8StackTraceImpl> clone(V8StackTraceImpl*, size_t maxAsyncStackSize);
@@ -59,10 +59,10 @@ public:
String toString() const override;
private:
- V8StackTraceImpl(const String& description, Vector<Frame>& frames, PassOwnPtr<V8StackTraceImpl> parent);
+ V8StackTraceImpl(const String& description, protocol::Vector<Frame>& frames, PassOwnPtr<V8StackTraceImpl> parent);
String m_description;
- Vector<Frame> m_frames;
+ protocol::Vector<Frame> m_frames;
OwnPtr<V8StackTraceImpl> m_parent;
};

Powered by Google App Engine
This is Rietveld 408576698