Index: webkit/fileapi/file_system_usage_cache.cc |
diff --git a/webkit/fileapi/file_system_usage_cache.cc b/webkit/fileapi/file_system_usage_cache.cc |
index 46bbdff669eeaafbf46c923c51503058becc57c2..18d13c714e2fb317602d6a45bcdcd56f306e6d6f 100644 |
--- a/webkit/fileapi/file_system_usage_cache.cc |
+++ b/webkit/fileapi/file_system_usage_cache.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -131,7 +131,7 @@ int64 FileSystemUsageCache::Read(const FilePath& usage_file_path, |
file_util::ReadFile(usage_file_path, buffer, kUsageFileSize)) |
return -1; |
Pickle read_pickle(buffer, kUsageFileSize); |
- void* iter = NULL; |
+ PickleIterator iter(read_pickle); |
int64 fs_usage; |
if (!read_pickle.ReadBytes(&iter, &header, kUsageFileHeaderSize) || |