Title: [282867] trunk/Source/WebCore
Revision
282867
Author
hironori.fu...@sony.com
Date
2021-09-22 01:24:43 -0700 (Wed, 22 Sep 2021)

Log Message

[Win][MSVC] REGRESSION(r282860): ClipboardItemBindingsDataSource.cpp(147): error C2955: 'WTF::Ref': use of class template requires template argument list
https://bugs.webkit.org/show_bug.cgi?id=230599

Unreviewed build fix.


* Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp:
(WebCore::ClipboardItemBindingsDataSource::collectDataForWriting):
Conditioned out the ASSERT_UNUSED for MSVC.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (282866 => 282867)


--- trunk/Source/WebCore/ChangeLog	2021-09-22 07:55:18 UTC (rev 282866)
+++ trunk/Source/WebCore/ChangeLog	2021-09-22 08:24:43 UTC (rev 282867)
@@ -1,3 +1,14 @@
+2021-09-22  Fujii Hironori  <hironori.fu...@sony.com>
+
+        [Win][MSVC] REGRESSION(r282860): ClipboardItemBindingsDataSource.cpp(147): error C2955: 'WTF::Ref': use of class template requires template argument list
+        https://bugs.webkit.org/show_bug.cgi?id=230599
+
+        Unreviewed build fix.
+
+        * Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp:
+        (WebCore::ClipboardItemBindingsDataSource::collectDataForWriting):
+        Conditioned out the ASSERT_UNUSED for MSVC.
+
 2021-09-21  Jean-Yves Avenard  <j...@apple.com>
 
         Use SharedMemory for transferring appended buffers from SourceBuffer to the GPU process

Modified: trunk/Source/WebCore/Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp (282866 => 282867)


--- trunk/Source/WebCore/Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp	2021-09-22 07:55:18 UTC (rev 282866)
+++ trunk/Source/WebCore/Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp	2021-09-22 08:24:43 UTC (rev 282867)
@@ -144,7 +144,9 @@
                 return;
 
             Ref itemTypeLoader { *weakItemTypeLoader };
+#if !COMPILER(MSVC)
             ASSERT_UNUSED(this, notFound != m_itemTypeLoaders.findMatching([&] (auto& loader) { return loader.ptr() == itemTypeLoader.ptr(); }));
+#endif
 
             auto result = promise->result();
             if (!result) {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to