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

Side by Side Diff: ppapi/proxy/dispatcher.cc

Issue 9655019: Fix a crash related to PPAPI scripting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/dispatcher.h ('k') | ppapi/proxy/host_dispatcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ppapi/proxy/dispatcher.h" 5 #include "ppapi/proxy/dispatcher.h"
6 6
7 #include <string.h> // For memset. 7 #include <string.h> // For memset.
8 8
9 #include <map> 9 #include <map>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 static_cast<ApiID>(msg.routing_id())); 63 static_cast<ApiID>(msg.routing_id()));
64 if (!proxy) { 64 if (!proxy) {
65 NOTREACHED(); 65 NOTREACHED();
66 return true; 66 return true;
67 } 67 }
68 return proxy->OnMessageReceived(msg); 68 return proxy->OnMessageReceived(msg);
69 } 69 }
70 70
71 void Dispatcher::SetSerializationRules( 71 void Dispatcher::SetSerializationRules(
72 VarSerializationRules* var_serialization_rules) { 72 VarSerializationRules* var_serialization_rules) {
73 serialization_rules_.reset(var_serialization_rules); 73 serialization_rules_ = var_serialization_rules;
74 } 74 }
75 75
76 void Dispatcher::OnInvalidMessageReceived() { 76 void Dispatcher::OnInvalidMessageReceived() {
77 } 77 }
78 78
79 } // namespace proxy 79 } // namespace proxy
80 } // namespace ppapi 80 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/dispatcher.h ('k') | ppapi/proxy/host_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698