| 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);
|
| }
|
|
|
|
|