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

Unified Diff: chrome/browser/ui/views/app_list/app_list_dialog_container.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/views/app_list/app_list_dialog_container.cc
diff --git a/chrome/browser/ui/views/app_list/app_list_dialog_container.cc b/chrome/browser/ui/views/app_list/app_list_dialog_container.cc
index 98a7287fc0ad0a863169f4919dff1ad90e23142f..62f2c97b9c653aabd9d348819e4f093f07751a35 100644
--- a/chrome/browser/ui/views/app_list/app_list_dialog_container.cc
+++ b/chrome/browser/ui/views/app_list/app_list_dialog_container.cc
@@ -220,7 +220,7 @@ class NativeDialogContainer : public BaseDialogContainer {
views::NonClientFrameView* CreateNonClientFrameView(
views::Widget* widget) override {
FullSizeBubbleFrameView* frame = new FullSizeBubbleFrameView();
- scoped_ptr<views::BubbleBorder> border(new views::BubbleBorder(
+ std::unique_ptr<views::BubbleBorder> border(new views::BubbleBorder(
views::BubbleBorder::FLOAT, kShadowType, gfx::kPlaceholderColor));
border->set_use_theme_background_color(true);
frame->SetBubbleBorder(std::move(border));
« no previous file with comments | « chrome/browser/ui/validation_message_bubble.h ('k') | chrome/browser/ui/views/app_list/linux/app_list_service_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698