Chromium Code Reviews| Index: sync/internal_api/model_type_store_backend.cc |
| diff --git a/sync/internal_api/model_type_store_backend.cc b/sync/internal_api/model_type_store_backend.cc |
| index ebe4118b0480d69143213da85b7844b85519b4ff..ce6aedff547dc4b18d2a481da64040e19b1b58de 100644 |
| --- a/sync/internal_api/model_type_store_backend.cc |
| +++ b/sync/internal_api/model_type_store_backend.cc |
| @@ -2,9 +2,10 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#include "sync/internal_api/public/model_type_store_backend.h" |
| +#include <utility> |
| #include "base/files/file_path.h" |
| +#include "sync/internal_api/public/model_type_store_backend.h" |
|
Nicolas Zea
2015/12/18 23:46:55
keep up top
|
| #include "third_party/leveldatabase/env_chromium.h" |
| #include "third_party/leveldatabase/src/helpers/memenv/memenv.h" |
| #include "third_party/leveldatabase/src/include/leveldb/db.h" |
| @@ -32,7 +33,7 @@ scoped_ptr<leveldb::Env> ModelTypeStoreBackend::CreateInMemoryEnv() { |
| } |
| void ModelTypeStoreBackend::TakeEnvOwnership(scoped_ptr<leveldb::Env> env) { |
| - env_ = env.Pass(); |
| + env_ = std::move(env); |
| } |
| ModelTypeStore::Result ModelTypeStoreBackend::Init(const std::string& path, |