diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-02 00:14:50 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-02 00:14:50 +0000 |
commit | f15d9ebc3d733d09c056f3ffba2337829fc1203c (patch) | |
tree | 9ae3ffada55ec1c28444df9a7734538b9c95dd50 /chrome/browser/app_controller_mac.mm | |
parent | c5955d91aa86b7113adc40c3300fdce5a14b2efc (diff) | |
download | chromium_src-f15d9ebc3d733d09c056f3ffba2337829fc1203c.zip chromium_src-f15d9ebc3d733d09c056f3ffba2337829fc1203c.tar.gz chromium_src-f15d9ebc3d733d09c056f3ffba2337829fc1203c.tar.bz2 |
Update OS X to use scoped_refptr<T>::get() rather than implicit "operator T*"
Fixes a number of cases either not caught by the automated tool or that have
recently regressed.
BUG=206189
TBR=darin
Review URL: https://codereview.chromium.org/18346006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209554 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/app_controller_mac.mm')
-rw-r--r-- | chrome/browser/app_controller_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm index 63c42b6..f225337 100644 --- a/chrome/browser/app_controller_mac.mm +++ b/chrome/browser/app_controller_mac.mm @@ -1328,7 +1328,7 @@ class AppControllerProfileObserver : public ProfileInfoCacheObserver { applications.begin(); cursor != applications.end(); ++cursor, ++position) { - DCHECK_EQ(applications.GetPosition(*cursor), position); + DCHECK_EQ(applications.GetPosition(cursor->get()), position); NSString* itemStr = base::SysUTF16ToNSString(UTF8ToUTF16((*cursor)->name())); base::scoped_nsobject<NSMenuItem> appItem( |