Pass transition type to CefLoadHandler::OnLoadStart (issue #1943)

This commit is contained in:
Marshall Greenblatt
2016-07-12 11:59:42 -04:00
parent 7641240f2e
commit 9bfcca74f2
9 changed files with 65 additions and 28 deletions

View File

@ -2955,7 +2955,8 @@ void CefBrowserHostImpl::OnLoadStart(CefRefPtr<CefFrame> frame,
CefRefPtr<CefLoadHandler> handler = client_->GetLoadHandler();
if (handler.get()) {
// Notify the handler that loading has started.
handler->OnLoadStart(this, frame);
handler->OnLoadStart(this, frame,
static_cast<cef_transition_type_t>(transition_type));
}
}
}