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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_section_container.mm

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/cocoa/autofill/autofill_section_container.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm b/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm
index 320cc9d76e8092b1f6bf54824d3bda58b43bec78..b6f96d8f9df3725b8de77f90880a8a5725758802 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_section_container.mm
@@ -598,8 +598,8 @@ bool ShouldOverwriteComboboxes(autofill::DialogSection section,
}
base::scoped_nsobject<LayoutView> view([[LayoutView alloc] init]);
- [view setLayoutManager:
- scoped_ptr<SimpleGridLayout>(new SimpleGridLayout(view))];
+ [view setLayoutManager:std::unique_ptr<SimpleGridLayout>(
+ new SimpleGridLayout(view))];
SimpleGridLayout* layout = [view layoutManager];
int column_set_id = 0;

Powered by Google App Engine
This is Rietveld 408576698