mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision d483fb77 (#474934)
- CefLifeSpanHandler::OnBeforePopup is now called on the UI thread. - Remove CefBrowserSettings.javascript_open_windows which is no longer supported.
This commit is contained in:
@@ -25,8 +25,10 @@ CefRefPtr<CefBasicLabelButtonImpl> CefBasicLabelButtonImpl::Create(
|
||||
label_button->Initialize();
|
||||
if (!text.empty())
|
||||
label_button->SetText(text);
|
||||
if (with_frame)
|
||||
label_button->root_view()->SetStyle(views::CustomButton::STYLE_BUTTON);
|
||||
if (with_frame) {
|
||||
label_button->root_view()->SetStyleDeprecated(
|
||||
views::CustomButton::STYLE_BUTTON);
|
||||
}
|
||||
return label_button;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user