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

Unified Diff: chrome/browser/ui/aura/native_window_tracker_aura.cc

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/aura/native_window_tracker_aura.cc
diff --git a/chrome/browser/ui/aura/native_window_tracker_aura.cc b/chrome/browser/ui/aura/native_window_tracker_aura.cc
index bd1106aafdad099f479fcab894245c9945e039aa..94c3f80c4320baa914777872373831258c7116dd 100644
--- a/chrome/browser/ui/aura/native_window_tracker_aura.cc
+++ b/chrome/browser/ui/aura/native_window_tracker_aura.cc
@@ -28,7 +28,8 @@ void NativeWindowTrackerAura::OnWindowDestroying(
}
// static
-scoped_ptr<NativeWindowTracker> NativeWindowTracker::Create(
+std::unique_ptr<NativeWindowTracker> NativeWindowTracker::Create(
gfx::NativeWindow window) {
- return scoped_ptr<NativeWindowTracker>(new NativeWindowTrackerAura(window));
+ return std::unique_ptr<NativeWindowTracker>(
+ new NativeWindowTrackerAura(window));
}

Powered by Google App Engine
This is Rietveld 408576698