CefFrame::GetURL in the renderer process should return the provisional URL for popups during loading (issue #2448)

This commit is contained in:
Marshall Greenblatt
2018-07-09 14:36:37 -04:00
parent 9229cdd0eb
commit 448a112352
3 changed files with 15 additions and 6 deletions

View File

@@ -346,7 +346,7 @@ CefRefPtr<CefFrameImpl> CefBrowserImpl::GetWebFrameImpl(
if (it != frames_.end())
return it->second;
CefRefPtr<CefFrameImpl> framePtr(new CefFrameImpl(this, frame));
CefRefPtr<CefFrameImpl> framePtr(new CefFrameImpl(this, frame, frame_id));
frames_.insert(std::make_pair(frame_id, framePtr));
const int64_t parent_id = frame->Parent() == NULL