| Index: content/renderer/pepper/plugin_object.cc
|
| diff --git a/content/renderer/pepper/plugin_object.cc b/content/renderer/pepper/plugin_object.cc
|
| index 6de7ce19efb3189bca654cddcce38bc4ea27eeb4..256c0a3fd76e8813a963e334212dd7ca23240a53 100644
|
| --- a/content/renderer/pepper/plugin_object.cc
|
| +++ b/content/renderer/pepper/plugin_object.cc
|
| @@ -208,7 +208,8 @@ bool WrapperClass_Enumerate(NPObject* object,
|
| calloc(property_count, sizeof(NPIdentifier)));
|
| *count = 0; // Will be the number of items successfully converted.
|
| for (uint32_t i = 0; i < property_count; ++i) {
|
| - if (!((*values)[i] = PPVarToNPIdentifier(properties[i]))) {
|
| + (*values)[i] = PPVarToNPIdentifier(properties[i]);
|
| + if (!(*values)[i]) {
|
| // Throw an exception for the failed convertion.
|
| *result_converter.exception() =
|
| StringVar::StringToPPVar(kInvalidValueException);
|
|
|