Index: chrome/browser/media/media_stream_capture_indicator.cc |
diff --git a/chrome/browser/media/media_stream_capture_indicator.cc b/chrome/browser/media/media_stream_capture_indicator.cc |
index 400e011a53ca3ffd4e1b6d7342aa0e73199a1903..5e7df032f66c9252d2dab16340b195a6f56fbda2 100644 |
--- a/chrome/browser/media/media_stream_capture_indicator.cc |
+++ b/chrome/browser/media/media_stream_capture_indicator.cc |
@@ -5,8 +5,8 @@ |
#include "chrome/browser/media/media_stream_capture_indicator.h" |
#include <stddef.h> |
- |
#include <string> |
+#include <utility> |
#include "base/logging.h" |
#include "base/macros.h" |
@@ -418,7 +418,7 @@ void MediaStreamCaptureIndicator::UpdateNotificationUserInterface() { |
// The icon will take the ownership of the passed context menu. |
MaybeCreateStatusTrayIcon(audio, video); |
if (status_icon_) { |
- status_icon_->SetContextMenu(menu.Pass()); |
+ status_icon_->SetContextMenu(std::move(menu)); |
} |
} |