Fix compilation errors on Windows
This commit is contained in:
parent
6f7a98d7c9
commit
576b54320a
3 changed files with 7 additions and 7 deletions
|
@ -316,9 +316,9 @@ bool WebContents::AddMessageToConsole(content::WebContents* source,
|
|||
}
|
||||
}
|
||||
|
||||
void WebContents::CreateWindow(const GURL& target_url,
|
||||
const std::string& frame_name,
|
||||
WindowOpenDisposition disposition) {
|
||||
void WebContents::OnCreateWindow(const GURL& target_url,
|
||||
const std::string& frame_name,
|
||||
WindowOpenDisposition disposition) {
|
||||
if (type_ == BROWSER_WINDOW)
|
||||
Emit("-new-window", target_url, frame_name, disposition);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue