Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5891)

Unified Diff: chrome/browser/sessions/compress_data_helper.cc

Issue 9447084: Refactor Pickle Read methods to use higher performance PickleIterator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile (racing with incoming CLs) Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sessions/compress_data_helper.cc
diff --git a/chrome/browser/sessions/compress_data_helper.cc b/chrome/browser/sessions/compress_data_helper.cc
index 987af6a8839b23581926fba9b147b01962331537..d879fe692203a886f270b05c95b799aaaa1bc70a 100644
--- a/chrome/browser/sessions/compress_data_helper.cc
+++ b/chrome/browser/sessions/compress_data_helper.cc
@@ -83,7 +83,7 @@ void CompressDataHelper::CompressAndWriteStringToPickle(const std::string& str,
// static
bool CompressDataHelper::ReadAndDecompressStringFromPickle(const Pickle& pickle,
- void** iter,
+ PickleIterator* iter,
std::string* str) {
// Read the size of the original data.
int original_size = 0;
« no previous file with comments | « chrome/browser/sessions/compress_data_helper.h ('k') | chrome/browser/sessions/compress_data_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698