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; |
} |