fix: devtools crashing on Linux in detach mode (#48623)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
3f23e8c93a
commit
d22f7a15e6
1 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
|
||||
#include "ui/views/widget/native_widget_aura.h"
|
||||
#include "ui/views/window/default_frame_view.h"
|
||||
|
||||
#if BUILDFLAG(IS_LINUX)
|
||||
#include "base/environment.h"
|
||||
|
|
@ -62,7 +63,7 @@ gfx::ImageSkia* ViewsDelegate::GetDefaultWindowIcon() const {
|
|||
|
||||
std::unique_ptr<views::FrameView> ViewsDelegate::CreateDefaultFrameView(
|
||||
views::Widget* widget) {
|
||||
return nullptr;
|
||||
return std::make_unique<views::DefaultFrameView>(widget);
|
||||
}
|
||||
|
||||
void ViewsDelegate::OnBeforeWidgetInit(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue