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

Unified Diff: chrome/browser/ui/views/app_list/app_list_dialog_container.cc

Issue 1550053002: Convert Pass()→std::move() in //chrome/browser/ui (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
Index: chrome/browser/ui/views/app_list/app_list_dialog_container.cc
diff --git a/chrome/browser/ui/views/app_list/app_list_dialog_container.cc b/chrome/browser/ui/views/app_list/app_list_dialog_container.cc
index 148500527e640a5adf6aab9dc0dd3e34baaecfd8..dd2c4f2ecdb7623c6040f1c05c6de7104b8e90a5 100644
--- a/chrome/browser/ui/views/app_list/app_list_dialog_container.cc
+++ b/chrome/browser/ui/views/app_list/app_list_dialog_container.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/ui/views/app_list/app_list_dialog_container.h"
+#include <utility>
+
#include "base/macros.h"
#include "build/build_config.h"
#include "chrome/browser/ui/host_desktop.h"
@@ -219,7 +221,7 @@ class NativeDialogContainer : public BaseDialogContainer {
scoped_ptr<views::BubbleBorder> border(new views::BubbleBorder(
views::BubbleBorder::FLOAT, kShadowType, gfx::kPlaceholderColor));
border->set_use_theme_background_color(true);
- frame->SetBubbleBorder(border.Pass());
+ frame->SetBubbleBorder(std::move(border));
return frame;
}

Powered by Google App Engine
This is Rietveld 408576698