Changeset 15972 in webkit for trunk/JavaScriptCore/bindings/NP_jsobject.cpp
- Timestamp:
- Aug 22, 2006, 2:05:47 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bindings/NP_jsobject.cpp
r15698 r15972 60 60 static NPClass* NPNoScriptObjectClass = &noScriptClass; 61 61 62 static Identifier identifierFromNPIdentifier(const NPUTF8* name)63 {64 NPUTF16 *methodName;65 unsigned UTF16Length;66 convertUTF8ToUTF16(name, -1, &methodName, &UTF16Length); // requires free() of returned memory.67 Identifier identifier((const KJS::UChar*)methodName, UTF16Length);68 free(methodName);69 return identifier;70 }71 72 62 static bool _isSafeScript(JavaScriptObject* obj) 73 63 {
Note:
See TracChangeset
for help on using the changeset viewer.