Changeset 37868 in webkit for trunk/JavaScriptCore
- Timestamp:
- Oct 24, 2008, 3:16:09 PM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSContextRef.cpp
r37845 r37868 121 121 122 122 // It is necessary to call toThisObject to get the wrapper object when used with WebCore. 123 return toRef(exec-> dynamicGlobalObject()->toThisObject(exec));123 return toRef(exec->lexicalGlobalObject()->toThisObject(exec)); 124 124 } 125 125 -
trunk/JavaScriptCore/ChangeLog
r37861 r37868 1 2008-10-24 Alexey Proskuryakov <[email protected]> 2 3 Suggested and rubber-stamped by Geoff Garen. 4 5 Fix a crash when opening Font Picker. 6 7 The change also hopefully fixes this bug, which I could never reproduce: 8 https://bugs.webkit.org/show_bug.cgi?id=20241 9 <rdar://problem/6290576> Safari crashes at JSValueUnprotect() when fontpicker view close 10 11 * API/JSContextRef.cpp: (JSContextGetGlobalObject): Use lexical global object instead of 12 dynamic one. 13 1 14 2008-10-24 Cameron Zwarich <[email protected]> 2 15
Note:
See TracChangeset
for help on using the changeset viewer.