Title: [238390] trunk/Source/WebCore
Revision
238390
Author
hironori.fu...@sony.com
Date
2018-11-19 22:46:52 -0800 (Mon, 19 Nov 2018)

Log Message

REGRESSION(r238350) [curl] CertificateInfo.h: error: template specialization requires 'template<>'
https://bugs.webkit.org/show_bug.cgi?id=191849

Unreviewed build fix for clang-cl builds.

No new tests because there's no behaviour change.

* platform/network/curl/CertificateInfo.h:
(WTF::Persistence::Coder<WebCore::CertificateInfo>::encode):
(WTF::Persistence::Coder<WebCore::CertificateInfo>::decode):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (238389 => 238390)


--- trunk/Source/WebCore/ChangeLog	2018-11-20 03:04:35 UTC (rev 238389)
+++ trunk/Source/WebCore/ChangeLog	2018-11-20 06:46:52 UTC (rev 238390)
@@ -1,3 +1,16 @@
+2018-11-19  Fujii Hironori  <hironori.fu...@sony.com>
+
+        REGRESSION(r238350) [curl] CertificateInfo.h: error: template specialization requires 'template<>'
+        https://bugs.webkit.org/show_bug.cgi?id=191849
+
+        Unreviewed build fix for clang-cl builds.
+
+        No new tests because there's no behaviour change.
+
+        * platform/network/curl/CertificateInfo.h:
+        (WTF::Persistence::Coder<WebCore::CertificateInfo>::encode):
+        (WTF::Persistence::Coder<WebCore::CertificateInfo>::decode):
+
 2018-11-19  Basuke Suzuki  <basuke.suz...@sony.com>
 
         [Curl] Add API for CertificateInfo.

Modified: trunk/Source/WebCore/platform/network/curl/CertificateInfo.h (238389 => 238390)


--- trunk/Source/WebCore/platform/network/curl/CertificateInfo.h	2018-11-20 03:04:35 UTC (rev 238389)
+++ trunk/Source/WebCore/platform/network/curl/CertificateInfo.h	2018-11-20 06:46:52 UTC (rev 238390)
@@ -70,16 +70,18 @@
 namespace WTF {
 namespace Persistence {
 
-void Coder<WebCore::CertificateInfo>::encode(Encoder& encoder, const WebCore::CertificateInfo& certificateInfo)
-{
-    notImplemented();
-}
+template<> struct Coder<WebCore::CertificateInfo> {
+    static void encode(Encoder& encoder, const WebCore::CertificateInfo& certificateInfo)
+    {
+        notImplemented();
+    }
 
-bool Coder<WebCore::CertificateInfo>::decode(Decoder& decoder, WebCore::CertificateInfo& certificateInfo)
-{
-    notImplemented();
-    return false;
-}
+    static bool decode(Decoder& decoder, WebCore::CertificateInfo& certificateInfo)
+    {
+        notImplemented();
+        return false;
+    }
+};
 
 } // namespace WTF::Persistence
 } // namespace WTF
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to