Add CefBaseTime and use it instead of CefTime (see issue #2935)

This commit is contained in:
Dmitry Azaraev
2022-05-31 23:28:43 +03:00
committed by Marshall Greenblatt
parent 987b932a19
commit 27d3089804
58 changed files with 502 additions and 228 deletions

View File

@ -55,11 +55,9 @@ bool CefNavigationEntryImpl::HasPostData() {
return mutable_value()->GetHasPostData();
}
CefTime CefNavigationEntryImpl::GetCompletionTime() {
CefTime time;
CEF_VALUE_VERIFY_RETURN(false, time);
cef_time_from_basetime(mutable_value()->GetTimestamp(), time);
return time;
CefBaseTime CefNavigationEntryImpl::GetCompletionTime() {
CEF_VALUE_VERIFY_RETURN(false, CefBaseTime());
return mutable_value()->GetTimestamp();
}
int CefNavigationEntryImpl::GetHttpStatusCode() {