mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 76.0.3809.0 (#665002)
OSR tests will be fixed by a follow-up merge of Viz support (see issue #2575).
This commit is contained in:
committed by
Marshall Greenblatt
parent
5892ffc382
commit
cc0db5f166
@ -12,16 +12,14 @@
|
||||
// static
|
||||
CefRefPtr<CefMenuButton> CefMenuButton::CreateMenuButton(
|
||||
CefRefPtr<CefMenuButtonDelegate> delegate,
|
||||
const CefString& text,
|
||||
bool with_frame) {
|
||||
return CefMenuButtonImpl::Create(delegate, text, with_frame);
|
||||
const CefString& text) {
|
||||
return CefMenuButtonImpl::Create(delegate, text);
|
||||
}
|
||||
|
||||
// static
|
||||
CefRefPtr<CefMenuButtonImpl> CefMenuButtonImpl::Create(
|
||||
CefRefPtr<CefMenuButtonDelegate> delegate,
|
||||
const CefString& text,
|
||||
bool with_frame) {
|
||||
const CefString& text) {
|
||||
CEF_REQUIRE_UIT_RETURN(nullptr);
|
||||
DCHECK(delegate);
|
||||
if (!delegate)
|
||||
@ -30,9 +28,6 @@ CefRefPtr<CefMenuButtonImpl> CefMenuButtonImpl::Create(
|
||||
menu_button->Initialize();
|
||||
if (!text.empty())
|
||||
menu_button->SetText(text);
|
||||
if (with_frame) {
|
||||
menu_button->root_view()->SetStyleDeprecated(views::Button::STYLE_BUTTON);
|
||||
}
|
||||
return menu_button;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user