diff options
author | etienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 14:15:42 +0000 |
---|---|---|
committer | etienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 14:15:42 +0000 |
commit | f5f2b724da0926b45c9a6bd34df0e974206819c5 (patch) | |
tree | f41f8ee54ac14892bea2c207043157a59818a82c | |
parent | d5bfb3d72af53b0be61f374c14db7caec9c225c5 (diff) | |
download | chromium_src-f5f2b724da0926b45c9a6bd34df0e974206819c5.zip chromium_src-f5f2b724da0926b45c9a6bd34df0e974206819c5.tar.gz chromium_src-f5f2b724da0926b45c9a6bd34df0e974206819c5.tar.bz2 |
Fix a missing error handling.
This issue was found by a linter.
R=darin@chromium.org
BUG=
Review URL: https://chromiumcodereview.appspot.com/22854012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220285 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | content/child/plugin_param_traits.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/child/plugin_param_traits.cc b/content/child/plugin_param_traits.cc index b444c17..7a3908d 100644 --- a/content/child/plugin_param_traits.cc +++ b/content/child/plugin_param_traits.cc @@ -80,8 +80,8 @@ bool ParamTraits<NPVariant_Param>::Read(const Message* m, result = ReadParam(m, iter, &r->string_value); } else if (r->type == content::NPVARIANT_PARAM_SENDER_OBJECT_ROUTING_ID || r->type == content::NPVARIANT_PARAM_RECEIVER_OBJECT_ROUTING_ID) { - result = ReadParam(m, iter, &r->npobject_routing_id); - result = ReadParam(m, iter, &r->npobject_owner_id); + result = ReadParam(m, iter, &r->npobject_routing_id) && + ReadParam(m, iter, &r->npobject_owner_id); } else if ((r->type == content::NPVARIANT_PARAM_VOID) || (r->type == content::NPVARIANT_PARAM_NULL)) { result = true; |