Index: components/sync/model_impl/model_type_store_backend_unittest.cc |
diff --git a/components/sync/model_impl/model_type_store_backend_unittest.cc b/components/sync/model_impl/model_type_store_backend_unittest.cc |
index b6b0aeafde17608744319e534498529e5518e26d..183c71f8780b5efe809143b2264d01681ee92f3b 100644 |
--- a/components/sync/model_impl/model_type_store_backend_unittest.cc |
+++ b/components/sync/model_impl/model_type_store_backend_unittest.cc |
@@ -61,12 +61,8 @@ class ModelTypeStoreBackendTest : public testing::Test { |
return backend; |
} |
- bool BackendExistsForPath(std::string path) { |
- if (ModelTypeStoreBackend::backend_map_.Get().end() == |
- ModelTypeStoreBackend::backend_map_.Get().find(path)) { |
- return false; |
- } |
- return true; |
+ bool BackendExistsForPath(const std::string& path) { |
+ return ModelTypeStoreBackend::BackendExistsForTest(path); |
} |
std::string GetBackendPath(scoped_refptr<ModelTypeStoreBackend> backend) { |