diff options
author | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-18 19:08:16 +0000 |
---|---|---|
committer | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-18 19:08:16 +0000 |
commit | 93f68c23e262b6fe2cc3aba3670a9313bb1f66ca (patch) | |
tree | 9277f00473042de7d70df51e30e389024a19563d /chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc | |
parent | 626762430853281058f6f775b03521a3bc09cef4 (diff) | |
download | chromium_src-93f68c23e262b6fe2cc3aba3670a9313bb1f66ca.zip chromium_src-93f68c23e262b6fe2cc3aba3670a9313bb1f66ca.tar.gz chromium_src-93f68c23e262b6fe2cc3aba3670a9313bb1f66ca.tar.bz2 |
Changing all Get*UserProfileOrOffTheRecord() to Get*UserProfile() calls
BUG=322682
TEST=covered by existing unit tests
Review URL: https://codereview.chromium.org/108653010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241611 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc')
-rw-r--r-- | chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc b/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc index ebf9bb2..f09cc95 100644 --- a/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc +++ b/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc @@ -143,7 +143,7 @@ class AccessibilityDelegateImpl : public ash::AccessibilityDelegate { virtual void TriggerAccessibilityAlert( ash::AccessibilityAlert alert) OVERRIDE { - Profile* profile = ProfileManager::GetActiveUserProfileOrOffTheRecord(); + Profile* profile = ProfileManager::GetActiveUserProfile(); if (profile) { switch (alert) { case ash::A11Y_ALERT_WINDOW_NEEDED: { @@ -178,19 +178,19 @@ class MediaDelegateImpl : public ash::MediaDelegate { virtual void HandleMediaNextTrack() OVERRIDE { extensions::MediaPlayerAPI::Get( - ProfileManager::GetActiveUserProfileOrOffTheRecord())-> + ProfileManager::GetActiveUserProfile())-> media_player_event_router()->NotifyNextTrack(); } virtual void HandleMediaPlayPause() OVERRIDE { extensions::MediaPlayerAPI::Get( - ProfileManager::GetActiveUserProfileOrOffTheRecord())-> + ProfileManager::GetActiveUserProfile())-> media_player_event_router()->NotifyTogglePlayState(); } virtual void HandleMediaPrevTrack() OVERRIDE { extensions::MediaPlayerAPI::Get( - ProfileManager::GetActiveUserProfileOrOffTheRecord())-> + ProfileManager::GetActiveUserProfile())-> media_player_event_router()->NotifyPrevTrack(); } |