| Index: chrome/browser/ui/views/elevation_icon_setter.cc
|
| diff --git a/chrome/browser/ui/views/elevation_icon_setter.cc b/chrome/browser/ui/views/elevation_icon_setter.cc
|
| index 1548025c654904b100104a11cc8f8228bd0bb98f..877ff9a32480fbac0e9fc1c34f71d20f31967509 100644
|
| --- a/chrome/browser/ui/views/elevation_icon_setter.cc
|
| +++ b/chrome/browser/ui/views/elevation_icon_setter.cc
|
| @@ -29,7 +29,7 @@ scoped_ptr<SkBitmap> GetElevationIcon() {
|
| #if defined(OS_WIN)
|
| if ((base::win::GetVersion() < base::win::VERSION_VISTA) ||
|
| !base::win::UserAccountControlIsEnabled())
|
| - return icon.Pass();
|
| + return icon;
|
|
|
| SHSTOCKICONINFO icon_info = { sizeof(SHSTOCKICONINFO) };
|
| typedef HRESULT (STDAPICALLTYPE *GetStockIconInfo)(SHSTOCKICONID,
|
| @@ -43,7 +43,7 @@ scoped_ptr<SkBitmap> GetElevationIcon() {
|
| // TODO(pkasting): Run on a background thread since this call spins a nested
|
| // message loop.
|
| if (FAILED((*func)(SIID_SHIELD, SHGSI_ICON | SHGSI_SMALLICON, &icon_info)))
|
| - return icon.Pass();
|
| + return icon;
|
|
|
| icon.reset(IconUtil::CreateSkBitmapFromHICON(
|
| icon_info.hIcon,
|
|
|