Changeset 249628 in webkit
- Timestamp:
- Sep 7, 2019 10:57:17 PM (5 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r249613 r249628 1 2019-09-07 David Quesada <david_quesada@apple.com> 2 3 REGRESSION(r248533): Unable to use WTF::RefCounted when building in a debug configuration against a non-debug WebKit 4 https://bugs.webkit.org/show_bug.cgi?id=201585 5 rdar://problem/55153369 6 7 Reviewed by Chris Dumez. 8 9 Export WTF::RefCountedBase::areThreadingChecksEnabledGlobally regardless of whether or not assertions 10 are enabled for the WTF being built. This allows WebKit-based projects to use RefCounted for their own 11 objects in a debug configuration without requiring a debug build of WebKit. 12 13 * wtf/RefCounted.cpp: 14 * wtf/RefCounted.h: 15 1 16 2019-09-07 Mark Lam <mark.lam@apple.com> 2 17 -
trunk/Source/WTF/wtf/RefCounted.cpp
r248533 r249628 24 24 namespace WTF { 25 25 26 #if !ASSERT_DISABLED27 26 bool RefCountedBase::areThreadingChecksEnabledGlobally { false }; 28 #endif29 27 30 28 } -
trunk/Source/WTF/wtf/RefCounted.h
r249064 r249628 165 165 mutable bool m_isOwnedByMainThread; 166 166 bool m_areThreadingChecksEnabled { true }; 167 #endif 167 168 WTF_EXPORT_PRIVATE static bool areThreadingChecksEnabledGlobally; 168 #endif169 169 #if CHECK_REF_COUNTED_LIFECYCLE 170 170 mutable bool m_deletionHasBegun;
Note: See TracChangeset
for help on using the changeset viewer.