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

Unified Diff: ui/app_list/views/progress_bar_view.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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
« no previous file with comments | « ui/app_list/views/folder_header_view_unittest.cc ('k') | ui/app_list/views/pulsing_block_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/progress_bar_view.h
diff --git a/ui/app_list/views/progress_bar_view.h b/ui/app_list/views/progress_bar_view.h
index 78d9282fd802710649d54e6a7900ba9a33add97b..4be0043a63b637b1f1585d6de52fc2f0b45b127a 100644
--- a/ui/app_list/views/progress_bar_view.h
+++ b/ui/app_list/views/progress_bar_view.h
@@ -5,8 +5,9 @@
#ifndef UI_APP_LIST_VIEWS_PROGRESS_BAR_VIEW_H_
#define UI_APP_LIST_VIEWS_PROGRESS_BAR_VIEW_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/views/controls/progress_bar.h"
namespace views {
@@ -26,8 +27,8 @@ class ProgressBarView : public views::ProgressBar {
void OnPaint(gfx::Canvas* canvas) override;
private:
- scoped_ptr<views::Painter> background_painter_;
- scoped_ptr<views::Painter> bar_painter_;
+ std::unique_ptr<views::Painter> background_painter_;
+ std::unique_ptr<views::Painter> bar_painter_;
DISALLOW_COPY_AND_ASSIGN(ProgressBarView);
};
« no previous file with comments | « ui/app_list/views/folder_header_view_unittest.cc ('k') | ui/app_list/views/pulsing_block_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698