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

Unified Diff: Source/bindings/core/v8/V8Debugger.h

Issue 1163923005: Fix crash in inspector-protocol/debugger/debugger-pause-dedicated-worker.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed printf Created 5 years, 7 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
« no previous file with comments | « Source/bindings/core/v8/MainThreadDebugger.cpp ('k') | Source/bindings/core/v8/V8Debugger.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8Debugger.h
diff --git a/Source/bindings/core/v8/V8Debugger.h b/Source/bindings/core/v8/V8Debugger.h
index 9adf0349f481876c0531cb417746fd4acde708e2..6da13eb01960fe7e7db0400f17fd40836aac89d4 100644
--- a/Source/bindings/core/v8/V8Debugger.h
+++ b/Source/bindings/core/v8/V8Debugger.h
@@ -110,16 +110,6 @@ public:
static PassRefPtrWillBeRawPtr<JavaScriptCallFrame> toJavaScriptCallFrameUnsafe(const ScriptValue&);
- class Task {
- public:
- virtual ~Task() { }
- virtual void run() = 0;
- };
- // This method can be called on any thread. It is caller's responsibility to make sure that
- // this V8Debugger and corresponding v8::Isolate exist while this method is running.
- void interruptAndRun(PassOwnPtr<Task>);
- void runPendingTasks();
-
bool isPaused();
v8::Local<v8::Value> functionScopes(v8::Local<v8::Function>);
@@ -142,7 +132,6 @@ private:
static void breakProgramCallback(const v8::FunctionCallbackInfo<v8::Value>&);
void handleProgramBreak(ScriptState* pausedScriptState, v8::Local<v8::Object> executionState, v8::Local<v8::Value> exception, v8::Local<v8::Array> hitBreakpoints, bool isPromiseRejection = false);
- static void v8InterruptCallback(v8::Isolate*, void*);
static void v8DebugEventCallback(const v8::Debug::EventDetails&);
v8::Local<v8::Value> callInternalGetterFunction(v8::Local<v8::Object>, const char* functionName);
void handleV8DebugEvent(const v8::Debug::EventDetails&);
@@ -168,8 +157,6 @@ private:
v8::Local<v8::Object> m_executionState;
RefPtr<ScriptState> m_pausedScriptState;
bool m_runningNestedMessageLoop;
- class ThreadSafeTaskQueue;
- OwnPtr<ThreadSafeTaskQueue> m_taskQueue;
};
} // namespace blink
« no previous file with comments | « Source/bindings/core/v8/MainThreadDebugger.cpp ('k') | Source/bindings/core/v8/V8Debugger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698