Title: [140738] trunk/Source/WebCore
Revision
140738
Author
[email protected]
Date
2013-01-24 15:28:07 -0800 (Thu, 24 Jan 2013)

Log Message

CertificateChain functions in ResourceResponse should be inside proper ifdefs
https://bugs.webkit.org/show_bug.cgi?id=107865

Reviewed by Brady Eidson.

Move ResourceResponse::setCertificateChain() and ResourceResponse::certificateChain()
be under the same ifdefs that they are declared in.

No new tests because no change in functionality.

* platform/network/mac/ResourceResponseMac.mm:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (140737 => 140738)


--- trunk/Source/WebCore/ChangeLog	2013-01-24 23:25:45 UTC (rev 140737)
+++ trunk/Source/WebCore/ChangeLog	2013-01-24 23:28:07 UTC (rev 140738)
@@ -1,3 +1,17 @@
+2013-01-24  Pratik Solanki  <[email protected]>
+
+        CertificateChain functions in ResourceResponse should be inside proper ifdefs
+        https://bugs.webkit.org/show_bug.cgi?id=107865
+
+        Reviewed by Brady Eidson.
+
+        Move ResourceResponse::setCertificateChain() and ResourceResponse::certificateChain()
+        be under the same ifdefs that they are declared in.
+
+        No new tests because no change in functionality.
+
+        * platform/network/mac/ResourceResponseMac.mm:
+
 2013-01-24  Leo Yang  <[email protected]>
 
         [BlackBerry] Display HTML5 Appcache manifest

Modified: trunk/Source/WebCore/platform/network/mac/ResourceResponseMac.mm (140737 => 140738)


--- trunk/Source/WebCore/platform/network/mac/ResourceResponseMac.mm	2013-01-24 23:25:45 UTC (rev 140737)
+++ trunk/Source/WebCore/platform/network/mac/ResourceResponseMac.mm	2013-01-24 23:28:07 UTC (rev 140738)
@@ -171,6 +171,10 @@
     return a.nsURLResponse() == b.nsURLResponse();
 }
 
+#endif // USE(CFNETWORK)
+
+#if PLATFORM(MAC) || USE(CFNETWORK)
+
 void ResourceResponse::setCertificateChain(CFArrayRef certificateChain)
 {
     ASSERT(!wkCopyNSURLResponseCertificateChain(nsURLResponse()));
@@ -185,7 +189,7 @@
     return adoptCF(wkCopyNSURLResponseCertificateChain(nsURLResponse()));
 }
 
-#endif // USE(CFNETWORK)
+#endif // PLATFORM(MAC) || USE(CFNETWORK)
 
 } // namespace WebCore
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to