Changeset 230965 in webkit
- Timestamp:
- Apr 24, 2018 12:19:47 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r230963 r230965 1 2018-04-24 Mark Lam <mark.lam@apple.com> 2 3 Need to acquire the VM lock before calling toNumber on a JSValue. 4 https://bugs.webkit.org/show_bug.cgi?id=184924 5 <rdar://problem/39690679> 6 7 Reviewed by Saam Barati. 8 9 * bridge/objc/objc_utility.mm: 10 (JSC::Bindings::convertValueToObjcValue): 11 1 12 2018-04-24 Tadeu Zagallo <tzagallo@apple.com> 2 13 -
trunk/Source/WebCore/bridge/objc/objc_utility.mm
r228218 r230965 1 1 /* 2 * Copyright (C) 2004 , 2013, 2016Apple Inc. All rights reserved.2 * Copyright (C) 2004-2018 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 82 82 double d = 0; 83 83 84 if (value.isNumber() || value.isString() || value.isBoolean()) 84 if (value.isNumber() || value.isString() || value.isBoolean()) { 85 JSLockHolder lock(exec); 85 86 d = value.toNumber(exec); 87 } 86 88 87 89 switch (type) {
Note: See TracChangeset
for help on using the changeset viewer.