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

Unified Diff: ui/views/bubble/bubble_frame_view.cc

Issue 1539583003: Convert Pass()→std::move() in 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
« no previous file with comments | « ui/snapshot/snapshot_aura.cc ('k') | ui/views/controls/button/blue_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_frame_view.cc
diff --git a/ui/views/bubble/bubble_frame_view.cc b/ui/views/bubble/bubble_frame_view.cc
index c9fcd40138cb4e62daf92979745e7faa28238323..419f342f523a95526a053c3852e6459dae0d0174 100644
--- a/ui/views/bubble/bubble_frame_view.cc
+++ b/ui/views/bubble/bubble_frame_view.cc
@@ -5,6 +5,7 @@
#include "ui/views/bubble/bubble_frame_view.h"
#include <algorithm>
+#include <utility>
#include "ui/base/hit_test.h"
#include "ui/base/l10n/l10n_util.h"
@@ -330,7 +331,7 @@ void BubbleFrameView::ButtonPressed(Button* sender, const ui::Event& event) {
void BubbleFrameView::SetBubbleBorder(scoped_ptr<BubbleBorder> border) {
bubble_border_ = border.get();
- SetBorder(border.Pass());
+ SetBorder(std::move(border));
// Update the background, which relies on the border.
set_background(new views::BubbleBackground(bubble_border_));
« no previous file with comments | « ui/snapshot/snapshot_aura.cc ('k') | ui/views/controls/button/blue_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698