| Index: chrome/browser/ui/views/frame/taskbar_decorator_win.cc
|
| diff --git a/chrome/browser/ui/views/frame/taskbar_decorator_win.cc b/chrome/browser/ui/views/frame/taskbar_decorator_win.cc
|
| index 00a3c2e8e77bd8caab01220d0097dd8fa9978505..5d7563ad1cc81fcbbeb576dd1eabd249a49988ba 100644
|
| --- a/chrome/browser/ui/views/frame/taskbar_decorator_win.cc
|
| +++ b/chrome/browser/ui/views/frame/taskbar_decorator_win.cc
|
| @@ -30,7 +30,7 @@ namespace {
|
| //
|
| // Docs for TaskbarList::SetOverlayIcon() say it does nothing if the HWND is not
|
| // valid.
|
| -void SetOverlayIcon(HWND hwnd, scoped_ptr<SkBitmap> bitmap) {
|
| +void SetOverlayIcon(HWND hwnd, std::unique_ptr<SkBitmap> bitmap) {
|
| base::win::ScopedComPtr<ITaskbarList3> taskbar;
|
| HRESULT result = taskbar.CreateInstance(CLSID_TaskbarList, nullptr,
|
| CLSCTX_INPROC_SERVER);
|
| @@ -80,7 +80,7 @@ void DrawTaskbarDecoration(gfx::NativeWindow window, const gfx::Image* image) {
|
|
|
| // Copy the image since we're going to use it on a separate thread and
|
| // gfx::Image isn't thread safe.
|
| - scoped_ptr<SkBitmap> bitmap;
|
| + std::unique_ptr<SkBitmap> bitmap;
|
| if (image) {
|
| bitmap.reset(new SkBitmap(
|
| profiles::GetAvatarIconAsSquare(*image->ToSkBitmap(), 1)));
|
|
|