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

Unified Diff: chrome/browser/ui/app_list/extension_app_item.cc

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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
Index: chrome/browser/ui/app_list/extension_app_item.cc
diff --git a/chrome/browser/ui/app_list/extension_app_item.cc b/chrome/browser/ui/app_list/extension_app_item.cc
index c2a18ad52645528e914aff185644fc1c287d212d..0fa3354391026d16543019b1d5f56b7054444399 100644
--- a/chrome/browser/ui/app_list/extension_app_item.cc
+++ b/chrome/browser/ui/app_list/extension_app_item.cc
@@ -79,7 +79,7 @@ class RoundedCornersImageSource : public gfx::CanvasImageSource {
canvas->DrawImageInt(icon_, 0, 0);
- scoped_ptr<gfx::Canvas> masking_canvas(
+ std::unique_ptr<gfx::Canvas> masking_canvas(
new gfx::Canvas(gfx::Size(icon_.width(), icon_.height()), 1.0f, false));
DCHECK(masking_canvas);
« no previous file with comments | « chrome/browser/ui/app_list/extension_app_item.h ('k') | chrome/browser/ui/app_list/extension_app_model_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698