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

Unified Diff: chrome/browser/dom_distiller/profile_utils.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (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/dom_distiller/profile_utils.cc
diff --git a/chrome/browser/dom_distiller/profile_utils.cc b/chrome/browser/dom_distiller/profile_utils.cc
index a94ade8b90016c4fa744de62e14e14a96e1d8352..e365c6f74b57763b37a5fc4f7806d7d4244197d8 100644
--- a/chrome/browser/dom_distiller/profile_utils.cc
+++ b/chrome/browser/dom_distiller/profile_utils.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/dom_distiller/profile_utils.h"
+#include <utility>
+
#include "base/command_line.h"
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/dom_distiller/dom_distiller_service_factory.h"
@@ -55,9 +57,8 @@ void RegisterDomDistillerViewerSource(Profile* profile) {
}
content::URLDataSource::Add(
- profile,
- new dom_distiller::DomDistillerViewerSource(
- lazy_service, dom_distiller::kDomDistillerScheme,
- ui_handle.Pass()));
+ profile, new dom_distiller::DomDistillerViewerSource(
+ lazy_service, dom_distiller::kDomDistillerScheme,
+ std::move(ui_handle)));
}
}

Powered by Google App Engine
This is Rietveld 408576698