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; |