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

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: Address comment 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
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..eb2dea00b1a4d5b22f8fa0468144851308613942 100644
--- a/chrome/browser/browser_process_platform_part_mac.mm
+++ b/chrome/browser/browser_process_platform_part_mac.mm
@@ -4,7 +4,6 @@
#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"
@@ -15,7 +14,7 @@ BrowserProcessPlatformPart::~BrowserProcessPlatformPart() {
}
void BrowserProcessPlatformPart::StartTearDown() {
- app_shim_host_manager_.reset();
+ app_shim_host_manager_ = NULL;
}
void BrowserProcessPlatformPart::AttemptExit() {
@@ -26,7 +25,7 @@ void BrowserProcessPlatformPart::AttemptExit() {
}
void BrowserProcessPlatformPart::PreMainMessageLoopRun() {
- app_shim_host_manager_.reset(new AppShimHostManager);
+ app_shim_host_manager_ = new AppShimHostManager;
AppListService::InitAll(NULL);
}

Powered by Google App Engine
This is Rietveld 408576698