Skip to content

Commit a8a102c

Browse files
committed
Fix nwjs#6374: webview devtools can no longer be embedded
1 parent e29b5b5 commit a8a102c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/nw_chrome_browser_hooks.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ void ShowDevtools(bool show, content::WebContents* web_contents, content::WebCon
149149
if (!window) {
150150
Profile* profile = Profile::FromBrowserContext(
151151
web_contents->GetBrowserContext());
152-
window = DevToolsWindow::Create(profile, nullptr, DevToolsWindow::kFrontendDefault, std::string(), false, std::string(), std::string(), container);
152+
window = DevToolsWindow::Create(profile, nullptr, DevToolsWindow::kFrontendDefault, std::string(), false, std::string(), std::string(), false, container);
153153
if (!window)
154154
return;
155155
window->bindings_->AttachTo(agent_host);

0 commit comments

Comments
 (0)