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

Unified Diff: chrome/browser/ui/webui/options/certificate_manager_handler.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/webui/options/certificate_manager_handler.cc
diff --git a/chrome/browser/ui/webui/options/certificate_manager_handler.cc b/chrome/browser/ui/webui/options/certificate_manager_handler.cc
index 5138a6729dc82e7956c667322b31181c0d7fa2ea..9ac2a69d1f87a3304cd4a67595dda1932d9f70b9 100644
--- a/chrome/browser/ui/webui/options/certificate_manager_handler.cc
+++ b/chrome/browser/ui/webui/options/certificate_manager_handler.cc
@@ -7,9 +7,9 @@
#include <errno.h>
#include <stddef.h>
#include <stdint.h>
-
#include <algorithm>
#include <map>
+#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
@@ -1050,7 +1050,7 @@ void CertificateManagerHandler::Delete(const base::ListValue* args) {
void CertificateManagerHandler::OnCertificateManagerModelCreated(
scoped_ptr<CertificateManagerModel> model) {
- certificate_manager_model_ = model.Pass();
+ certificate_manager_model_ = std::move(model);
CertificateManagerModelReady();
}

Powered by Google App Engine
This is Rietveld 408576698