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

Unified Diff: third_party/WebKit/Source/web/WebSharedWorkerImpl.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/WebSharedWorkerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
index 46ed512c8ce2add9d6392a19d1beeadca8ada0ed..7cecaa06c56bb0041edb6e5c4e82cb79e0b88453 100644
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
@@ -412,10 +412,10 @@ void WebSharedWorkerImpl::ReattachDevTools(const WebString& host_id,
ResumeStartup();
}
-void WebSharedWorkerImpl::DetachDevTools() {
+void WebSharedWorkerImpl::DetachDevTools(int session_id) {
WebDevToolsAgent* devtools_agent = main_frame_->DevToolsAgent();
if (devtools_agent)
- devtools_agent->Detach();
+ devtools_agent->Detach(session_id);
}
void WebSharedWorkerImpl::DispatchDevToolsMessage(int session_id,
« no previous file with comments | « third_party/WebKit/Source/web/WebSharedWorkerImpl.h ('k') | third_party/WebKit/public/web/WebDevToolsAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698