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

Unified Diff: ui/views/cocoa/cocoa_mouse_capture_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/views/cocoa/cocoa_mouse_capture.h ('k') | ui/views/controls/button/blue_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/cocoa/cocoa_mouse_capture_unittest.mm
diff --git a/ui/views/cocoa/cocoa_mouse_capture_unittest.mm b/ui/views/cocoa/cocoa_mouse_capture_unittest.mm
index 371a3fc6350fe8a7b71b9c159dad74c7ded65ad6..5b4e2bdf9954b3f9d5b18feb598068110f81b2f1 100644
--- a/ui/views/cocoa/cocoa_mouse_capture_unittest.mm
+++ b/ui/views/cocoa/cocoa_mouse_capture_unittest.mm
@@ -50,7 +50,7 @@ class TestCaptureDelegate : public CocoaMouseCaptureDelegate {
void OnMouseCaptureLost() override { ++capture_lost_count_; }
private:
- scoped_ptr<CocoaMouseCapture> mouse_capture_;
+ std::unique_ptr<CocoaMouseCapture> mouse_capture_;
int event_count_;
int capture_lost_count_;
« no previous file with comments | « ui/views/cocoa/cocoa_mouse_capture.h ('k') | ui/views/controls/button/blue_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698