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

Unified Diff: ui/gfx/mac/coordinate_conversion_unittest.mm

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/gfx/linux_font_delegate.h ('k') | ui/gfx/path_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mac/coordinate_conversion_unittest.mm
diff --git a/ui/gfx/mac/coordinate_conversion_unittest.mm b/ui/gfx/mac/coordinate_conversion_unittest.mm
index ccddbe81dbc3eed50f33f727312ebfab6f4d034b..d1acea8e832c4590bba845f8b4c1aefecdab8851 100644
--- a/ui/gfx/mac/coordinate_conversion_unittest.mm
+++ b/ui/gfx/mac/coordinate_conversion_unittest.mm
@@ -6,9 +6,10 @@
#import <Cocoa/Cocoa.h>
+#include <memory>
+
#import "base/mac/scoped_objc_class_swizzler.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#import "testing/gtest_mac.h"
#import "testing/platform_test.h"
#include "ui/gfx/geometry/rect.h"
@@ -40,7 +41,7 @@ class MacCoordinateConversionTest : public PlatformTest {
void TearDown() override;
private:
- scoped_ptr<base::mac::ScopedObjCClassSwizzler> swizzle_frame_;
+ std::unique_ptr<base::mac::ScopedObjCClassSwizzler> swizzle_frame_;
DISALLOW_COPY_AND_ASSIGN(MacCoordinateConversionTest);
};
« no previous file with comments | « ui/gfx/linux_font_delegate.h ('k') | ui/gfx/path_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698