Fix loading of popup windows with a newly created render process (issue #1057).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1413 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2013-08-27 18:19:21 +00:00
parent d5b6264dce
commit a71b780b0a
3 changed files with 36 additions and 26 deletions

View File

@@ -135,8 +135,10 @@ void CefFrameHostImpl::LoadURL(const CefString& url) {
frame_id = (is_main_frame_ ? kMainFrameId : frame_id_);
}
if (browser)
browser->LoadURL(frame_id, url);
if (browser) {
browser->LoadURL(frame_id, url, content::Referrer(),
content::PAGE_TRANSITION_TYPED, std::string());
}
}
void CefFrameHostImpl::LoadString(const CefString& string,