git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- fix a copy-and-paste-o
[WebKit-https.git]
/
JavaScriptCore
/
bindings
/
npruntime.cpp
diff --git
a/JavaScriptCore/bindings/npruntime.cpp
b/JavaScriptCore/bindings/npruntime.cpp
index d762ff1092b2181f943f175c44e39476db603df0..756eb13b1442b613c11aab3e54bdd7c7635bddcd 100644
(file)
--- 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;
if (!identifier) {
identifier = (PrivateIdentifier*)malloc(sizeof(PrivateIdentifier));
identifier->isString = false;
- identifier->
isString
= intid;
+ identifier->
value.number
= intid;
negativeOneAndZeroIdentifiers[intid + 1] = identifier;
}
negativeOneAndZeroIdentifiers[intid + 1] = identifier;
}