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

Unified Diff: trunk/src/chrome/browser/browser_process_platform_part_mac.mm

Issue 24052002: Revert 221580 "Make AppShimHostManager a RefCountedThreadSafe." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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 | « trunk/src/chrome/browser/browser_process_platform_part_mac.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/browser_process_platform_part_mac.mm
===================================================================
--- trunk/src/chrome/browser/browser_process_platform_part_mac.mm (revision 221792)
+++ trunk/src/chrome/browser/browser_process_platform_part_mac.mm (working copy)
@@ -4,6 +4,7 @@
#include "chrome/browser/browser_process_platform_part_mac.h"
+#include "apps/app_shim/app_shim_host_manager_mac.h"
#include "chrome/browser/chrome_browser_application_mac.h"
#include "chrome/browser/ui/app_list/app_list_service.h"
@@ -14,7 +15,7 @@
}
void BrowserProcessPlatformPart::StartTearDown() {
- app_shim_host_manager_ = NULL;
+ app_shim_host_manager_.reset();
}
void BrowserProcessPlatformPart::AttemptExit() {
@@ -25,7 +26,7 @@
}
void BrowserProcessPlatformPart::PreMainMessageLoopRun() {
- app_shim_host_manager_ = new AppShimHostManager;
+ app_shim_host_manager_.reset(new AppShimHostManager);
AppListService::InitAll(NULL);
}
« no previous file with comments | « trunk/src/chrome/browser/browser_process_platform_part_mac.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698