| Index: ios/web/webui/url_data_manager_ios.cc
|
| diff --git a/ios/web/webui/url_data_manager_ios.cc b/ios/web/webui/url_data_manager_ios.cc
|
| index 8cb9a5413cd983f298fe48e91ae914d3caffb47f..fb9689f4ab78c98683f0a41338e724988f13e370 100644
|
| --- a/ios/web/webui/url_data_manager_ios.cc
|
| +++ b/ios/web/webui/url_data_manager_ios.cc
|
| @@ -13,6 +13,7 @@
|
| #include "base/memory/ptr_util.h"
|
| #include "base/memory/ref_counted_memory.h"
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/stl_util.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/synchronization/lock.h"
|
| #include "ios/web/public/browser_state.h"
|
| @@ -129,8 +130,7 @@ bool URLDataManagerIOS::IsScheduledForDeletion(
|
| base::AutoLock lock(g_delete_lock.Get());
|
| if (!data_sources_)
|
| return false;
|
| - return std::find(data_sources_->begin(), data_sources_->end(), data_source) !=
|
| - data_sources_->end();
|
| + return base::ContainsValue(data_sources_, data_source);
|
| }
|
|
|
| } // namespace web
|
|
|