Changeset 253020 in webkit
- Timestamp:
- Dec 2, 2019 6:06:48 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r252936 r253020 1 2019-12-02 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [MSVC] Add /experimental:newLambdaProcessor switch for better C++ conformance 4 https://bugs.webkit.org/show_bug.cgi?id=204443 5 6 Reviewed by Alex Christensen. 7 8 MSVC has a bug of lambda capture of 'this'. It has caused 9 compilation errors repeatedly. 10 11 * Source/cmake/OptionsMSVC.cmake: Added /experimental:newLambdaProcessor switch. 12 1 13 2019-11-28 Fujii Hironori <Hironori.Fujii@sony.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r253017 r253020 1 2019-12-02 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [MSVC] Add /experimental:newLambdaProcessor switch for better C++ conformance 4 https://bugs.webkit.org/show_bug.cgi?id=204443 5 6 Reviewed by Alex Christensen. 7 8 * dom/DocumentStorageAccess.cpp: 9 (WebCore::DocumentStorageAccess::requestStorageAccess): Reverted MSVC workaround of r252726. 10 1 11 2019-12-02 Said Abou-Hallawa <sabouhallawa@apple.com> 2 12 -
trunk/Source/WebCore/dom/DocumentStorageAccess.cpp
r252726 r253020 183 183 184 184 if (shouldPreserveUserGesture) { 185 m_document.eventLoop().queueMicrotask([this, weakThis = makeWeakPtr(* weakThis)] {185 m_document.eventLoop().queueMicrotask([this, weakThis = makeWeakPtr(*this)] { 186 186 if (weakThis) 187 187 enableTemporaryTimeUserGesture(); … … 198 198 199 199 if (shouldPreserveUserGesture) { 200 m_document.eventLoop().queueMicrotask([this, weakThis = makeWeakPtr(* weakThis)] {200 m_document.eventLoop().queueMicrotask([this, weakThis = makeWeakPtr(*this)] { 201 201 if (weakThis) 202 202 consumeTemporaryTimeUserGesture(); -
trunk/Source/cmake/OptionsMSVC.cmake
r246873 r253020 29 29 # Specify the source code encoding 30 30 add_compile_options(/utf-8 /validate-charset) 31 32 # Enable the new lambda processor for better C++ conformance with /std:c++17 33 add_compile_options(/experimental:newLambdaProcessor) 31 34 32 35 if (${CMAKE_BUILD_TYPE} MATCHES "Debug")
Note: See TracChangeset
for help on using the changeset viewer.