Index: chrome/browser/ui/panels/panel.cc |
diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc |
index af991412c3b53c2bedafc418241038fea88a8632..7fe7aa551e428879607ac5fd0c499e19d2318ed4 100644 |
--- a/chrome/browser/ui/panels/panel.cc |
+++ b/chrome/browser/ui/panels/panel.cc |
@@ -155,7 +155,7 @@ bool PanelExtensionWindowController::IsVisibleToExtension( |
Panel::~Panel() { |
DCHECK(!collection_); |
// Invoked by native panel destructor. Do not access native_panel_ here. |
- chrome::EndKeepAlive(); // Remove shutdown prevention. |
+ chrome::DecrementKeepAliveCount(); // Remove shutdown prevention. |
} |
PanelManager* Panel::manager() const { |
@@ -538,7 +538,7 @@ void Panel::Initialize(const GURL& url, |
ThemeServiceFactory::GetForProfile(profile_))); |
// Prevent the browser process from shutting down while this window is open. |
- chrome::StartKeepAlive(); |
+ chrome::IncrementKeepAliveCount(); |
UpdateAppIcon(); |
} |