X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=JavaScriptCore%2Fbindings%2Fnpruntime.cpp;h=756eb13b1442b613c11aab3e54bdd7c7635bddcd;hp=d762ff1092b2181f943f175c44e39476db603df0;hb=8ef8e3784e0f92cd7d89585c2560dd382b7e8432;hpb=43fb1c385bd1a3bcc3e91d61547ece900a4f602e diff --git a/JavaScriptCore/bindings/npruntime.cpp b/JavaScriptCore/bindings/npruntime.cpp index d762ff1092b2..756eb13b1442 100644 --- a/JavaScriptCore/bindings/npruntime.cpp +++ b/JavaScriptCore/bindings/npruntime.cpp @@ -105,7 +105,7 @@ NPIdentifier _NPN_GetIntIdentifier(int32_t intid) if (!identifier) { identifier = (PrivateIdentifier*)malloc(sizeof(PrivateIdentifier)); identifier->isString = false; - identifier->isString = intid; + identifier->value.number = intid; negativeOneAndZeroIdentifiers[intid + 1] = identifier; }