Fix compilation errors on Windows

This commit is contained in:
Cheng Zhao 2016-04-01 16:34:20 +09:00
parent 6f7a98d7c9
commit 576b54320a
3 changed files with 7 additions and 7 deletions

View file

@ -242,7 +242,7 @@ void App::OnCreateWindow(const GURL& target_url,
content::WebContents::FromRenderFrameHost(rfh);
if (web_contents) {
auto api_web_contents = WebContents::CreateFrom(isolate(), web_contents);
api_web_contents->CreateWindow(target_url, frame_name, disposition);
api_web_contents->OnCreateWindow(target_url, frame_name, disposition);
}
}