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

Unified Diff: trunk/src/apps/app_shim/app_shim_host_manager_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
Index: trunk/src/apps/app_shim/app_shim_host_manager_mac.mm
===================================================================
--- trunk/src/apps/app_shim/app_shim_host_manager_mac.mm (revision 221792)
+++ trunk/src/apps/app_shim/app_shim_host_manager_mac.mm (working copy)
@@ -31,7 +31,8 @@
apps::AppShimHandler::SetDefaultHandler(&extension_app_shim_handler_);
BrowserThread::PostTask(
BrowserThread::FILE, FROM_HERE,
- base::Bind(&AppShimHostManager::InitOnFileThread, this));
+ base::Bind(&AppShimHostManager::InitOnFileThread,
+ base::Unretained(this)));
}
AppShimHostManager::~AppShimHostManager() {
@@ -51,7 +52,8 @@
factory_.reset(new IPC::ChannelFactory(socket_path, this));
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
- base::Bind(&AppShimHostManager::ListenOnIOThread, this));
+ base::Bind(&AppShimHostManager::ListenOnIOThread,
+ base::Unretained(this)));
}
void AppShimHostManager::ListenOnIOThread() {
« no previous file with comments | « trunk/src/apps/app_shim/app_shim_host_manager_mac.h ('k') | trunk/src/chrome/browser/browser_process_platform_part_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698