summaryrefslogtreecommitdiffstats
path: root/content/common/font_config_ipc_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/font_config_ipc_linux.cc')
-rw-r--r--content/common/font_config_ipc_linux.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/common/font_config_ipc_linux.cc b/content/common/font_config_ipc_linux.cc
index c7c6073..13ea2296 100644
--- a/content/common/font_config_ipc_linux.cc
+++ b/content/common/font_config_ipc_linux.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 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.
@@ -53,7 +53,7 @@ bool FontConfigIPC::Match(std::string* result_family,
return false;
Pickle reply(reinterpret_cast<char*>(reply_buf), r);
- void* iter = NULL;
+ PickleIterator iter(reply);
bool result;
if (!reply.ReadBool(&iter, &result))
return false;
@@ -98,7 +98,7 @@ int FontConfigIPC::Open(unsigned filefaceid) {
Pickle reply(reinterpret_cast<char*>(reply_buf), r);
bool result;
- void* iter = NULL;
+ PickleIterator iter(reply);
if (!reply.ReadBool(&iter, &result) ||
!result) {
if (result_fd)