Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: chrome/browser/browser_shutdown.cc

Issue 10539091: Leak ResourceBundle during browser shutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "remove delete_resources_on_shutdown" Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_shutdown.h ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_shutdown.cc
diff --git a/chrome/browser/browser_shutdown.cc b/chrome/browser/browser_shutdown.cc
index 2978bca8b09f10cadd493cb07f964f5b129d88b7..dfd2ffd04e360f7d9480f49006bcc9e27f380280 100644
--- a/chrome/browser/browser_shutdown.cc
+++ b/chrome/browser/browser_shutdown.cc
@@ -70,8 +70,6 @@ ShutdownType shutdown_type_ = NOT_VALID;
int shutdown_num_processes_;
int shutdown_num_processes_slow_;
-bool delete_resources_on_shutdown = true;
-
const char kShutdownMsFile[] = "chrome_shutdown_ms.txt";
void RegisterPrefs(PrefService* local_state) {
@@ -180,9 +178,6 @@ void ShutdownPostThreadsStop(bool restart_last_session) {
// Uninstall Jank-O-Meter here after the IO thread is no longer running.
UninstallJankometer();
- if (delete_resources_on_shutdown)
- ResourceBundle::CleanupSharedInstance();
-
#if defined(OS_WIN)
if (!browser_util::IsBrowserAlreadyRunning() &&
shutdown_type_ != browser_shutdown::END_SESSION) {
« no previous file with comments | « chrome/browser/browser_shutdown.h ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698