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

Unified Diff: ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc

Issue 1547223002: Convert Pass()→std::move() in //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « ash/system/user/user_view.cc ('k') | ash/system/web_notification/web_notification_tray_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc
diff --git a/ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc b/ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc
index ad4358d8f21fbdb300c34085b2127f5bea492062..9884e4b19fe93a93b2184e7a742b687983114947 100644
--- a/ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc
+++ b/ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc
@@ -4,6 +4,7 @@
#include "ash/system/web_notification/ash_popup_alignment_delegate.h"
+#include <utility>
#include <vector>
#include "ash/display/display_manager.h"
@@ -69,7 +70,7 @@ class AshPopupAlignmentDelegateTest : public test::AshTestBase {
alignment_delegate_.reset();
return;
}
- alignment_delegate_ = delegate.Pass();
+ alignment_delegate_ = std::move(delegate);
UpdateWorkArea(alignment_delegate_.get(),
Shell::GetScreen()->GetPrimaryDisplay());
}
« no previous file with comments | « ash/system/user/user_view.cc ('k') | ash/system/web_notification/web_notification_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698