| Index: chrome/browser/policy/schema_registry_service_factory.cc
|
| diff --git a/chrome/browser/policy/schema_registry_service_factory.cc b/chrome/browser/policy/schema_registry_service_factory.cc
|
| index 31826a90a843e634dc31855c9a42a4ec2d75dc00..1d7db13463e570a38da04b9a8aef5a96d8c033f3 100644
|
| --- a/chrome/browser/policy/schema_registry_service_factory.cc
|
| +++ b/chrome/browser/policy/schema_registry_service_factory.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "chrome/browser/policy/schema_registry_service_factory.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/logging.h"
|
| #include "build/build_config.h"
|
| #include "chrome/browser/policy/schema_registry_service.h"
|
| @@ -122,9 +124,9 @@ SchemaRegistryServiceFactory::CreateForContextInternal(
|
| registry.reset(new SchemaRegistry);
|
|
|
| scoped_ptr<SchemaRegistryService> service(new SchemaRegistryService(
|
| - registry.Pass(), chrome_schema, global_registry));
|
| + std::move(registry), chrome_schema, global_registry));
|
| registries_[context] = service.get();
|
| - return service.Pass();
|
| + return service;
|
| }
|
|
|
| void SchemaRegistryServiceFactory::BrowserContextShutdown(
|
|
|