Signature of OnCreateWindow has changed

This commit is contained in:
Cheng Zhao 2017-01-23 17:44:42 +09:00 committed by Kevin Sawicki
parent d8e9432b0d
commit c10eb73166
6 changed files with 6 additions and 6 deletions

View file

@ -392,7 +392,7 @@ void WebContents::OnCreateWindow(
const GURL& target_url,
const std::string& frame_name,
WindowOpenDisposition disposition,
const std::vector<base::string16>& features,
const std::vector<std::string>& features,
const scoped_refptr<content::ResourceRequestBodyImpl>& body) {
if (type_ == BROWSER_WINDOW || type_ == OFF_SCREEN)
Emit("-new-window", target_url, frame_name, disposition, features, body);