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

Unified Diff: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp

Issue 2858043003: [DevTools] Pass session id in detach request (Closed)
Patch Set: test compile Created 3 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
Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
index 760004d3b7180bd68cf456b75b2189e3b42c3ad2..f75782211ad5915d4b7dff6cfca99b06db745d68 100644
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
@@ -216,10 +216,10 @@ void WebEmbeddedWorkerImpl::ReattachDevTools(const WebString& host_id,
ResumeStartup();
}
-void WebEmbeddedWorkerImpl::DetachDevTools() {
+void WebEmbeddedWorkerImpl::DetachDevTools(int session_id) {
WebDevToolsAgent* devtools_agent = main_frame_->DevToolsAgent();
if (devtools_agent)
- devtools_agent->Detach();
+ devtools_agent->Detach(session_id);
}
void WebEmbeddedWorkerImpl::DispatchDevToolsMessage(int session_id,
« no previous file with comments | « third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h ('k') | third_party/WebKit/Source/web/WebSharedWorkerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698