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

Unified Diff: content/ppapi_plugin/ppapi_thread.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
« no previous file with comments | « content/common/ssl_status_serialization.cc ('k') | content/public/common/common_param_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/ppapi_plugin/ppapi_thread.cc
diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc
index 8ef6d6b3b587619aed312c5f9b44bdb4d86ceb8d..6450cf81590e151af70a98f3de7bece994b48610 100644
--- a/content/ppapi_plugin/ppapi_thread.cc
+++ b/content/ppapi_plugin/ppapi_thread.cc
@@ -256,7 +256,7 @@ void PpapiThread::OnMsgSetNetworkState(bool online) {
void PpapiThread::OnPluginDispatcherMessageReceived(const IPC::Message& msg) {
// The first parameter should be a plugin dispatcher ID.
- void* iter = NULL;
+ PickleIterator iter(msg);
uint32 id = 0;
if (!msg.ReadUInt32(&iter, &id)) {
NOTREACHED();
« no previous file with comments | « content/common/ssl_status_serialization.cc ('k') | content/public/common/common_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698