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

Unified Diff: ui/base/test/nswindow_fullscreen_notification_waiter.h

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/base/resource/resource_bundle_unittest.cc ('k') | ui/base/test/scoped_fake_nswindow_focus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/test/nswindow_fullscreen_notification_waiter.h
diff --git a/ui/base/test/nswindow_fullscreen_notification_waiter.h b/ui/base/test/nswindow_fullscreen_notification_waiter.h
index 340dbb7b08d8d568f403677d31981ccead8ee9ea..6248ee5473fb6986605b05c7b48edc42db90a117 100644
--- a/ui/base/test/nswindow_fullscreen_notification_waiter.h
+++ b/ui/base/test/nswindow_fullscreen_notification_waiter.h
@@ -7,14 +7,15 @@
#import <Cocoa/Cocoa.h>
+#include <memory>
+
#import "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
#include "base/run_loop.h"
// Waits for fullscreen transitions to complete.
@interface NSWindowFullscreenNotificationWaiter : NSObject {
@private
- scoped_ptr<base::RunLoop> runLoop_;
+ std::unique_ptr<base::RunLoop> runLoop_;
base::scoped_nsobject<NSWindow> window_;
int enterCount_;
int exitCount_;
« no previous file with comments | « ui/base/resource/resource_bundle_unittest.cc ('k') | ui/base/test/scoped_fake_nswindow_focus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698