| Index: chrome/browser/ui/views/panels/panel_view.cc
|
| diff --git a/chrome/browser/ui/views/panels/panel_view.cc b/chrome/browser/ui/views/panels/panel_view.cc
|
| index 9775a2de76037edc08dd156748942d37f79553cf..d4b6aa580d0da9e8f6b8bbdbf796dcc811f70782 100644
|
| --- a/chrome/browser/ui/views/panels/panel_view.cc
|
| +++ b/chrome/browser/ui/views/panels/panel_view.cc
|
| @@ -14,6 +14,7 @@
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "build/build_config.h"
|
| #include "chrome/app/chrome_command_ids.h"
|
| +#include "chrome/browser/lifetime/scoped_keep_alive.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/host_desktop.h"
|
| #include "chrome/browser/ui/panels/panel.h"
|
| @@ -301,7 +302,7 @@ PanelView::PanelView(Panel* panel, const gfx::Rect& bounds, bool always_on_top)
|
| window_->AddObserver(this);
|
|
|
| // Prevent the browser process from shutting down while this window is open.
|
| - keep_alive_.reset(new AutoKeepAlive(GetNativePanelWindow()));
|
| + keep_alive_ = AutoKeepAlive(GetNativePanelWindow());
|
|
|
| web_view_ = new views::WebView(NULL);
|
| AddChildView(web_view_);
|
|
|