| Index: components/autofill/content/renderer/password_generation_agent.cc
|
| diff --git a/components/autofill/content/renderer/password_generation_agent.cc b/components/autofill/content/renderer/password_generation_agent.cc
|
| index e7986765a8e42dcc5699bd0ad4950641937daf1f..31634b573252dcdc9518903d5ec5a812dcba8457 100644
|
| --- a/components/autofill/content/renderer/password_generation_agent.cc
|
| +++ b/components/autofill/content/renderer/password_generation_agent.cc
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/command_line.h"
|
| #include "base/logging.h"
|
| +#include "base/stl_util.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "components/autofill/content/renderer/form_autofill_util.h"
|
| #include "components/autofill/content/renderer/form_classifier.h"
|
| @@ -58,7 +59,7 @@ bool GetAccountCreationPasswordFields(
|
| }
|
|
|
| bool ContainsURL(const std::vector<GURL>& urls, const GURL& url) {
|
| - return std::find(urls.begin(), urls.end(), url) != urls.end();
|
| + return base::ContainsValue(urls, url);
|
| }
|
|
|
| // Calculates the signature of |form| and searches it in |forms|.
|
|
|