mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-16 20:20:51 +01:00
macOS: Fix compile errors
This commit is contained in:
parent
2ea173a254
commit
9a30f05f80
@ -1283,6 +1283,7 @@ class BrowserWindowOsrMacImpl {
|
||||
void CreateBrowser(ClientWindowHandle parent_handle,
|
||||
const CefRect& rect,
|
||||
const CefBrowserSettings& settings,
|
||||
CefRefPtr<CefDictionaryValue> extra_info,
|
||||
CefRefPtr<CefRequestContext> request_context);
|
||||
void GetPopupConfig(CefWindowHandle temp_handle,
|
||||
CefWindowInfo& windowInfo,
|
||||
@ -1774,8 +1775,10 @@ void BrowserWindowOsrMac::CreateBrowser(
|
||||
ClientWindowHandle parent_handle,
|
||||
const CefRect& rect,
|
||||
const CefBrowserSettings& settings,
|
||||
CefRefPtr<CefDictionaryValue> extra_info,
|
||||
CefRefPtr<CefRequestContext> request_context) {
|
||||
impl_->CreateBrowser(parent_handle, rect, settings, request_context);
|
||||
impl_->CreateBrowser(parent_handle, rect, settings, extra_info,
|
||||
request_context);
|
||||
}
|
||||
|
||||
void BrowserWindowOsrMac::GetPopupConfig(CefWindowHandle temp_handle,
|
||||
|
@ -1818,7 +1818,7 @@ class RequestTestRunner : public base::RefCountedThreadSafe<RequestTestRunner> {
|
||||
|
||||
std::string upload_data;
|
||||
GetUploadData(expected_request, upload_data);
|
||||
EXPECT_EQ(upload_data.size(), client->upload_total_);
|
||||
EXPECT_EQ((int64)upload_data.size(), client->upload_total_);
|
||||
} else {
|
||||
EXPECT_EQ(0, client->upload_progress_ct_);
|
||||
EXPECT_EQ(0, client->upload_total_);
|
||||
@ -1826,7 +1826,7 @@ class RequestTestRunner : public base::RefCountedThreadSafe<RequestTestRunner> {
|
||||
|
||||
if (settings_.expect_download_progress) {
|
||||
EXPECT_LE(1, client->download_progress_ct_);
|
||||
EXPECT_EQ(settings_.response_data.size(), client->download_total_);
|
||||
EXPECT_EQ((int64)settings_.response_data.size(), client->download_total_);
|
||||
} else {
|
||||
EXPECT_EQ(0, client->download_progress_ct_);
|
||||
EXPECT_EQ(0, client->download_total_);
|
||||
|
Loading…
x
Reference in New Issue
Block a user