Changeset 249280 in webkit
- Timestamp:
- Aug 29, 2019 10:11:05 AM (5 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r249273 r249280 1 2019-08-29 Chris Dumez <cdumez@apple.com> 2 3 CompletionHandler default constructor does not initialize `m_wasConstructedOnMainThread` 4 https://bugs.webkit.org/show_bug.cgi?id=201249 5 6 Reviewed by Joseph Pecoraro and Alex Christensen. 7 8 * wtf/CompletionHandler.h: 9 (WTF::CompletionHandler<Out): 10 1 11 2019-08-29 Chris Dumez <cdumez@apple.com> 2 12 -
trunk/Source/WTF/wtf/CompletionHandler.h
r248546 r249280 43 43 CompletionHandler(CallableType&& callable) 44 44 : m_function(WTFMove(callable)) 45 #if !ASSERT_DISABLED46 , m_wasConstructedOnMainThread(isMainThread())47 #endif48 45 { 49 46 } … … 69 66 Function<Out(In...)> m_function; 70 67 #if !ASSERT_DISABLED 71 bool m_wasConstructedOnMainThread ;68 bool m_wasConstructedOnMainThread { isMainThread() }; 72 69 #endif 73 70 };
Note: See TracChangeset
for help on using the changeset viewer.