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

Unified Diff: src/inspector/V8InspectorImpl.cpp

Issue 2323173004: [inspector] handle context destroyed after console.log (Closed)
Patch Set: fix formatting Created 4 years, 3 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 | « src/inspector/V8InspectorImpl.h ('k') | src/inspector/V8RuntimeAgentImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/V8InspectorImpl.cpp
diff --git a/src/inspector/V8InspectorImpl.cpp b/src/inspector/V8InspectorImpl.cpp
index cffc821714385f64a494f41b710001488858e6d3..c501302140ee4ca21b3fbe42bcfc92daaeb8e2ab 100644
--- a/src/inspector/V8InspectorImpl.cpp
+++ b/src/inspector/V8InspectorImpl.cpp
@@ -171,6 +171,12 @@ V8ConsoleMessageStorage* V8InspectorImpl::ensureConsoleMessageStorage(
return storageIt->second.get();
}
+bool V8InspectorImpl::hasConsoleMessageStorage(int contextGroupId) {
+ ConsoleStorageMap::iterator storageIt =
+ m_consoleStorageMap.find(contextGroupId);
+ return storageIt != m_consoleStorageMap.end();
+}
+
std::unique_ptr<V8StackTrace> V8InspectorImpl::createStackTrace(
v8::Local<v8::StackTrace> stackTrace) {
return m_debugger->createStackTrace(stackTrace);
« no previous file with comments | « src/inspector/V8InspectorImpl.h ('k') | src/inspector/V8RuntimeAgentImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698