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

Unified Diff: chrome/browser/app_controller_mac.mm

Issue 591493002: Remove implicit conversions from scoped_refptr to T* in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatting Created 6 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 | « no previous file | chrome/browser/browser_process_platform_part_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/app_controller_mac.mm
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm
index 366c3860e8093f49bc8daa52f1a3f1fdf747e88b..e5d1bdb2c6384e29a8b50463bc4093dc57327496 100644
--- a/chrome/browser/app_controller_mac.mm
+++ b/chrome/browser/app_controller_mac.mm
@@ -393,8 +393,8 @@ class AppControllerProfileObserver : public ProfileInfoCacheObserver {
// Check for active apps. If quitting is prevented, only close browsers and
// sessions.
- if (!browser_shutdown::IsTryingToQuit() &&
- quitWithAppsController_ && !quitWithAppsController_->ShouldQuit()) {
+ if (!browser_shutdown::IsTryingToQuit() && quitWithAppsController_.get() &&
+ !quitWithAppsController_->ShouldQuit()) {
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST,
content::NotificationService::AllSources(),
« no previous file with comments | « no previous file | chrome/browser/browser_process_platform_part_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698