Index: src/inspector/v8-debugger.h |
diff --git a/src/inspector/v8-debugger.h b/src/inspector/v8-debugger.h |
index 0132b370fe3bab13a734be6aef46e07e3f47701c..2620634d5b26ce5f9cf3094be3793fdd651f0c83 100644 |
--- a/src/inspector/v8-debugger.h |
+++ b/src/inspector/v8-debugger.h |
@@ -103,6 +103,8 @@ class V8Debugger { |
v8::Local<v8::Context> debuggerContext() const; |
void clearBreakpoints(); |
+ static void v8OOMCallback(void* data); |
+ |
static void breakProgramCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
void handleProgramBreak(v8::Local<v8::Context> pausedContext, |
v8::Local<v8::Object> executionState, |
@@ -149,6 +151,7 @@ class V8Debugger { |
v8::Local<v8::Context> m_pausedContext; |
bool m_runningNestedMessageLoop; |
int m_ignoreScriptParsedEventsCounter; |
+ bool m_scheduledOOMBreak = false; |
using AsyncTaskToStackTrace = |
protocol::HashMap<void*, std::unique_ptr<V8StackTraceImpl>>; |