Changeset 205534 in webkit
- Timestamp:
- Sep 6, 2016 7:22:44 PM (8 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r205528 r205534 1 2016-09-06 Yusuke Suzuki <utatane.tea@gmail.com> 2 3 Make JSC::PrivateName copyable 4 https://bugs.webkit.org/show_bug.cgi?id=161666 5 6 Reviewed by Ryosuke Niwa. 7 8 Define the custom copy constructor to make PrivateName copyable while using Ref<SymbolImpl>. 9 And since the custom copy constructor deletes the default move constructor, we explcitly define 10 it by `= default;`. 11 12 * runtime/PrivateName.h: 13 (JSC::PrivateName::PrivateName): 14 1 15 2016-09-06 Daniel Bates <dabates@apple.com> 2 16 -
trunk/Source/JavaScriptCore/runtime/PrivateName.h
r205335 r205534 49 49 } 50 50 51 PrivateName(const PrivateName& privateName) 52 : m_uid(privateName.m_uid.copyRef()) 53 { 54 } 55 56 PrivateName(PrivateName&&) = default; 57 51 58 SymbolImpl& uid() const { return const_cast<SymbolImpl&>(m_uid.get()); } 52 59
Note: See TracChangeset
for help on using the changeset viewer.