Changeset 270991 in webkit
- Timestamp:
- Dec 18, 2020, 3:14:55 PM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r270988 r270991 1 2020-12-18 Saam Barati <sbarati@apple.com> 2 3 CachedRefPtr should adoptRef before calling ref to appease RefCounted's debug assertions 4 https://bugs.webkit.org/show_bug.cgi?id=219953 5 <rdar://problem/72391255> 6 7 Reviewed by Tadeu Zagallo. 8 9 * runtime/CachedTypes.cpp: 10 (JSC::CachedRefPtr::decode const): 11 1 12 2020-12-18 Mark Lam <mark.lam@apple.com> 2 13 -
trunk/Source/JavaScriptCore/runtime/CachedTypes.cpp
r270870 r270991 558 558 }); 559 559 } 560 WTF::DefaultRefDerefTraits<Source>::refIfNotNull(decodedPtr); 561 return adoptRef(decodedPtr); 560 auto result = adoptRef<Source, PtrTraits>(decodedPtr); 561 result->ref(); 562 return result; 562 563 } 563 564
Note:
See TracChangeset
for help on using the changeset viewer.