Changeset 243479 in webkit
- Timestamp:
- Mar 25, 2019, 6:36:52 PM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Platform/win/SharedMemoryWin.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r243475 r243479 1 2019-03-25 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 Enable IPC sending and receiving non-default-constructible types 4 https://bugs.webkit.org/show_bug.cgi?id=196132 5 <rdar://problem/49229221> 6 7 Unreviewed build fix for WinCairo port. 8 9 error C2440: '=': cannot convert from 'int' to 'HANDLE' 10 11 * Platform/win/SharedMemoryWin.cpp: 12 (WebKit::SharedMemory::Handle::Handle): std::exchange HANDLE with nullptr, not 0. 13 (WebKit::SharedMemory::Handle::operator=): Ditto. 14 1 15 2019-03-25 Fujii Hironori <Hironori.Fujii@sony.com> 2 16 -
trunk/Source/WebKit/Platform/win/SharedMemoryWin.cpp
r243460 r243479 42 42 SharedMemory::Handle::Handle(Handle&& other) 43 43 { 44 m_handle = std::exchange(other.m_handle, 0);44 m_handle = std::exchange(other.m_handle, nullptr); 45 45 m_size = std::exchange(other.m_size, 0); 46 46 } … … 48 48 auto SharedMemory::Handle::operator=(Handle&& other) -> Handle& 49 49 { 50 m_handle = std::exchange(other.m_handle, 0);50 m_handle = std::exchange(other.m_handle, nullptr); 51 51 m_size = std::exchange(other.m_size, 0); 52 52 return *this;
Note:
See TracChangeset
for help on using the changeset viewer.