| Index: components/nacl/browser/nacl_browser.cc
|
| diff --git a/components/nacl/browser/nacl_browser.cc b/components/nacl/browser/nacl_browser.cc
|
| index 733e9d96652b40982cdb4a9f3aa25966380b2de6..b45651eba5c7801c10296aac85a5c8a22e7538c6 100644
|
| --- a/components/nacl/browser/nacl_browser.cc
|
| +++ b/components/nacl/browser/nacl_browser.cc
|
| @@ -84,7 +84,7 @@ void ReadCache(const base::FilePath& filename, std::string* data) {
|
| }
|
| }
|
|
|
| -void WriteCache(const base::FilePath& filename, const Pickle* pickle) {
|
| +void WriteCache(const base::FilePath& filename, const base::Pickle* pickle) {
|
| base::WriteFile(filename, static_cast<const char*>(pickle->data()),
|
| pickle->size());
|
| }
|
| @@ -357,7 +357,7 @@ void NaClBrowser::OnValidationCacheLoaded(const std::string *data) {
|
| // No file found.
|
| validation_cache_.Reset();
|
| } else {
|
| - Pickle pickle(data->data(), data->size());
|
| + base::Pickle pickle(data->data(), data->size());
|
| validation_cache_.Deserialize(&pickle);
|
| }
|
| validation_cache_state_ = NaClResourceReady;
|
| @@ -528,7 +528,7 @@ void NaClBrowser::PersistValidationCache() {
|
| // validation_cache_file_path_ may be empty if something went wrong during
|
| // initialization.
|
| if (validation_cache_is_modified_ && !validation_cache_file_path_.empty()) {
|
| - Pickle* pickle = new Pickle();
|
| + base::Pickle* pickle = new base::Pickle();
|
| validation_cache_.Serialize(pickle);
|
|
|
| // Pass the serialized data to another thread to write to disk. File IO is
|
|
|