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

Unified Diff: content/common/mac/attributed_string_coder.mm

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
« no previous file with comments | « content/common/mac/attributed_string_coder.h ('k') | content/common/pepper_file_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/mac/attributed_string_coder.mm
diff --git a/content/common/mac/attributed_string_coder.mm b/content/common/mac/attributed_string_coder.mm
index 706368d937b28e0fe94e68b5e16e25e86f01a724..78a1efb904996d8bddf3b88548cad38aa8b7d6ae 100644
--- a/content/common/mac/attributed_string_coder.mm
+++ b/content/common/mac/attributed_string_coder.mm
@@ -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.
@@ -126,7 +126,7 @@ void ParamTraits<AttributedStringCoder::EncodedString>::Write(
}
bool ParamTraits<AttributedStringCoder::EncodedString>::Read(
- const Message* m, void** iter, param_type* p) {
+ const Message* m, PickleIterator* iter, param_type* p) {
bool success = true;
string16 result;
@@ -149,7 +149,7 @@ void ParamTraits<AttributedStringCoder::FontAttribute>::Write(
}
bool ParamTraits<AttributedStringCoder::FontAttribute>::Read(
- const Message* m, void** iter, param_type* p) {
+ const Message* m, PickleIterator* iter, param_type* p) {
bool success = true;
FontDescriptor font;
« no previous file with comments | « content/common/mac/attributed_string_coder.h ('k') | content/common/pepper_file_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698