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

Unified Diff: components/url_matcher/url_matcher_factory.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers 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 | « components/url_matcher/url_matcher.cc ('k') | components/url_matcher/url_matcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/url_matcher/url_matcher_factory.cc
diff --git a/components/url_matcher/url_matcher_factory.cc b/components/url_matcher/url_matcher_factory.cc
index 31d0167d8dd07f4059f5ad5be35fb882d238a818..ac5522e353d0579283e8d037036b16d35919f508 100644
--- a/components/url_matcher/url_matcher_factory.cc
+++ b/components/url_matcher/url_matcher_factory.cc
@@ -6,6 +6,7 @@
#include <algorithm>
#include <cctype>
+#include <utility>
#include "base/lazy_instance.h"
#include "base/logging.h"
@@ -159,7 +160,8 @@ URLMatcherFactory::CreateFromURLFilterDictionary(
scoped_refptr<URLMatcherConditionSet> url_matcher_condition_set(
new URLMatcherConditionSet(id, url_matcher_conditions,
- url_matcher_schema_filter.Pass(), url_matcher_port_filter.Pass()));
+ std::move(url_matcher_schema_filter),
+ std::move(url_matcher_port_filter)));
return url_matcher_condition_set;
}
« no previous file with comments | « components/url_matcher/url_matcher.cc ('k') | components/url_matcher/url_matcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698