summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h')
-rw-r--r--third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h b/third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h
index b30ca47..bd17be7 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h
@@ -38,13 +38,11 @@
namespace blink {
-class V8DebuggerClient;
-
class JavaScriptCallFrame {
public:
- static PassOwnPtr<JavaScriptCallFrame> create(V8DebuggerClient* client, v8::Local<v8::Context> debuggerContext, v8::Local<v8::Object> callFrame)
+ static PassOwnPtr<JavaScriptCallFrame> create(v8::Local<v8::Context> debuggerContext, v8::Local<v8::Object> callFrame)
{
- return adoptPtr(new JavaScriptCallFrame(client, debuggerContext, callFrame));
+ return adoptPtr(new JavaScriptCallFrame(debuggerContext, callFrame));
}
~JavaScriptCallFrame();
@@ -78,16 +76,13 @@ public:
void setWrapperTemplate(v8::Local<v8::FunctionTemplate> wrapperTemplate, v8::Isolate* isolate) { m_wrapperTemplate.Reset(isolate, wrapperTemplate); }
v8::Local<v8::FunctionTemplate> wrapperTemplate(v8::Isolate* isolate) { return v8::Local<v8::FunctionTemplate>::New(isolate, m_wrapperTemplate); }
- V8DebuggerClient* client() { return m_client; }
-
private:
- JavaScriptCallFrame(V8DebuggerClient*, v8::Local<v8::Context> debuggerContext, v8::Local<v8::Object> callFrame);
+ JavaScriptCallFrame(v8::Local<v8::Context> debuggerContext, v8::Local<v8::Object> callFrame);
int callV8FunctionReturnInt(const char* name) const;
String16 callV8FunctionReturnString(const char* name) const;
v8::Local<v8::Value> callScopeLocationFunction(const char* name, int scopeIndex) const;
- V8DebuggerClient* m_client;
v8::Isolate* m_isolate;
OwnPtr<JavaScriptCallFrame> m_caller;
v8::Global<v8::Context> m_debuggerContext;