Index: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp |
index 22f64fca626064f07b0bae251948fd7da2ecaec0..712d9fbdb3e9189e688c09414860282fdc3a9ece 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp |
@@ -809,6 +809,12 @@ V8ConsoleMessageStorage* V8DebuggerImpl::ensureConsoleMessageStorage(int context |
return storageIt->second.get(); |
} |
+bool V8DebuggerImpl::hasConsoleMessageStorage(int contextGroupId) |
+{ |
+ ConsoleStorageMap::iterator storageIt = m_consoleStorageMap.find(contextGroupId); |
+ return storageIt != m_consoleStorageMap.end(); |
+} |
+ |
std::unique_ptr<V8StackTrace> V8DebuggerImpl::createStackTrace(v8::Local<v8::StackTrace> stackTrace) |
{ |
int contextGroupId = m_isolate->InContext() ? getGroupId(m_isolate->GetCurrentContext()) : 0; |