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

Unified Diff: chrome/browser/browser_process_platform_part_mac.mm

Issue 20065004: Make AppShimHostManager a RefCountedThreadSafe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase 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 | « 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: chrome/browser/browser_process_platform_part_mac.mm
diff --git a/chrome/browser/browser_process_platform_part_mac.mm b/chrome/browser/browser_process_platform_part_mac.mm
index c83cd5bc48434f2c37c31fab8cfa63fb9cb38768..fb0a81d36914ad4125a49befa16687f4661e728c 100644
--- a/chrome/browser/browser_process_platform_part_mac.mm
+++ b/chrome/browser/browser_process_platform_part_mac.mm
@@ -15,7 +15,7 @@ BrowserProcessPlatformPart::~BrowserProcessPlatformPart() {
}
void BrowserProcessPlatformPart::StartTearDown() {
- app_shim_host_manager_.reset();
+ app_shim_host_manager_ = NULL;
}
void BrowserProcessPlatformPart::AttemptExit() {
@@ -26,7 +26,7 @@ void BrowserProcessPlatformPart::AttemptExit() {
}
void BrowserProcessPlatformPart::PreMainMessageLoopRun() {
- app_shim_host_manager_.reset(new AppShimHostManager);
+ app_shim_host_manager_ = new AppShimHostManager;
AppListService::InitAll(NULL);
}
« no previous file with comments | « 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