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

Unified Diff: ui/views/window/dialog_delegate.cc

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/views/window/dialog_client_view_unittest.cc ('k') | ui/views/window/non_client_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/dialog_delegate.cc
diff --git a/ui/views/window/dialog_delegate.cc b/ui/views/window/dialog_delegate.cc
index 84ed6b9fc2e3a43dc5eba43a61d9573911b49908..03ec34dc27ed7056b81b233be0734abcf536f75a 100644
--- a/ui/views/window/dialog_delegate.cc
+++ b/ui/views/window/dialog_delegate.cc
@@ -193,7 +193,7 @@ NonClientFrameView* DialogDelegate::CreateDialogFrameView(Widget* widget) {
0, kButtonHEdgeMarginNew),
gfx::Insets());
const BubbleBorder::Shadow kShadow = BubbleBorder::SMALL_SHADOW;
- scoped_ptr<BubbleBorder> border(
+ std::unique_ptr<BubbleBorder> border(
new BubbleBorder(BubbleBorder::FLOAT, kShadow, gfx::kPlaceholderColor));
border->set_use_theme_background_color(true);
frame->SetBubbleBorder(std::move(border));
« no previous file with comments | « ui/views/window/dialog_client_view_unittest.cc ('k') | ui/views/window/non_client_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698