Bug 654301: Better interned string API, take 2. (r=Waldo)
This commit is contained in:
@@ -144,9 +144,9 @@ NPIdentifierToString(NPIdentifier id)
|
||||
}
|
||||
|
||||
static inline NPIdentifier
|
||||
StringToNPIdentifier(JSString *str)
|
||||
StringToNPIdentifier(JSContext *cx, JSString *str)
|
||||
{
|
||||
return JSIdToNPIdentifier(INTERNED_STRING_TO_JSID(str));
|
||||
return JSIdToNPIdentifier(INTERNED_STRING_TO_JSID(cx, str));
|
||||
}
|
||||
|
||||
static inline bool
|
||||
|
||||
Reference in New Issue
Block a user