Now the value in ScopedPtrHashMap is required to be scoped_ptr.

This commit is contained in:
Haojian Wu 2015-08-04 16:41:51 +08:00 committed by Cheng Zhao
parent d003b1bb57
commit fc4031ec26

View file

@ -73,7 +73,8 @@ class Archive {
scoped_ptr<base::DictionaryValue> header_; scoped_ptr<base::DictionaryValue> header_;
// Cached external temporary files. // Cached external temporary files.
base::ScopedPtrHashMap<base::FilePath, ScopedTemporaryFile> external_files_; base::ScopedPtrHashMap<base::FilePath, scoped_ptr<ScopedTemporaryFile>>
external_files_;
DISALLOW_COPY_AND_ASSIGN(Archive); DISALLOW_COPY_AND_ASSIGN(Archive);
}; };