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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_section_view_unittest.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_view_unittest.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_section_view_unittest.mm b/chrome/browser/ui/cocoa/autofill/autofill_section_view_unittest.mm
index 13486b4125f1eed03624a8e3308aa5de580cd556..7fcc1ca590741dc5aca4d9b712d7c3939f72a70d 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_section_view_unittest.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_section_view_unittest.mm
@@ -4,8 +4,9 @@
#import "chrome/browser/ui/cocoa/autofill/autofill_section_view.h"
+#include <memory>
+
#include "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/gtest_mac.h"
#include "testing/platform_test.h"
@@ -77,7 +78,7 @@ class AutofillSectionViewTest : public ui::CocoaTest {
protected:
base::scoped_nsobject<AutofillSectionView> view_;
base::scoped_nsobject<NSBitmapImageRep> bitmap_;
- scoped_ptr<gfx::ScopedNSGraphicsContextSaveGState> saved_context_;
+ std::unique_ptr<gfx::ScopedNSGraphicsContextSaveGState> saved_context_;
NSGraphicsContext* context_;
};

Powered by Google App Engine
This is Rietveld 408576698