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

Unified Diff: sky/engine/core/inspector/ScriptCallStack.h

Issue 727593004: Wire up the Inspector V8 Debugger (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: sky/engine/core/inspector/ScriptCallStack.h
diff --git a/sky/engine/core/inspector/ScriptCallStack.h b/sky/engine/core/inspector/ScriptCallStack.h
index 4cab24c38becab6df3dbb5a8705330e7ab637c16..26fec64a4e1b03b9b20aefe552bdf7b8366c4247 100644
--- a/sky/engine/core/inspector/ScriptCallStack.h
+++ b/sky/engine/core/inspector/ScriptCallStack.h
@@ -31,6 +31,7 @@
#ifndef ScriptCallStack_h
#define ScriptCallStack_h
+#include "core/InspectorTypeBuilder.h"
#include "core/inspector/ScriptCallFrame.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
@@ -41,7 +42,7 @@ namespace blink {
class ScriptAsyncCallStack;
-class ScriptCallStack final : public RefCounted<ScriptCallStack> {
+class ScriptCallStack FINAL : public RefCounted<ScriptCallStack> {
DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ScriptCallStack);
public:
static const size_t maxCallStackSizeToCapture = 200;
@@ -54,7 +55,7 @@ public:
PassRefPtr<ScriptAsyncCallStack> asyncCallStack() const;
void setAsyncCallStack(PassRefPtr<ScriptAsyncCallStack>);
- void trace(Visitor*);
+ PassRefPtr<TypeBuilder::Array<TypeBuilder::Console::CallFrame> > buildInspectorArray() const;
private:
explicit ScriptCallStack(Vector<ScriptCallFrame>&);

Powered by Google App Engine
This is Rietveld 408576698