mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Explicitly load the URL after calling UIT_CreatePopupWindow (issue #215).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@231 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -1380,6 +1380,7 @@ void CefBrowserImpl::UIT_ShowDevTools()
|
||||
CefRefPtr<CefBrowserImpl> browser =
|
||||
UIT_CreatePopupWindow(devtools_path.value(), features);
|
||||
browser->UIT_CreateDevToolsClient(dev_tools_agent_.get());
|
||||
browser->UIT_LoadURL(browser->GetMainFrame(), devtools_path.value());
|
||||
browser->UIT_Show(WebKit::WebNavigationPolicyNewWindow);
|
||||
} else {
|
||||
// Give focus to the existing inspector window.
|
||||
|
Reference in New Issue
Block a user