Title: [201515] trunk/Source/WebCore
Revision
201515
Author
achristen...@apple.com
Date
2016-05-31 10:53:20 -0700 (Tue, 31 May 2016)

Log Message

Build fix after r201482.

* platform/network/curl/CurlDownload.cpp:
(WebCore::CurlDownload::didReceiveHeader):
header used to be capturedHeader, which was a StringCapture, which needed .string() to get the String.
Now it's a WTF::String, so we already have the String.  Hooray for c++14!

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (201514 => 201515)


--- trunk/Source/WebCore/ChangeLog	2016-05-31 15:58:14 UTC (rev 201514)
+++ trunk/Source/WebCore/ChangeLog	2016-05-31 17:53:20 UTC (rev 201515)
@@ -1,3 +1,12 @@
+2016-05-31  Alex Christensen  <achristen...@webkit.org>
+
+        Build fix after r201482.
+
+        * platform/network/curl/CurlDownload.cpp:
+        (WebCore::CurlDownload::didReceiveHeader):
+        header used to be capturedHeader, which was a StringCapture, which needed .string() to get the String.
+        Now it's a WTF::String, so we already have the String.  Hooray for c++14!
+
 2016-05-31  Sergio Villar Senin  <svil...@igalia.com>
 
         Unreviewed build fix.

Modified: trunk/Source/WebCore/platform/network/curl/CurlDownload.cpp (201514 => 201515)


--- trunk/Source/WebCore/platform/network/curl/CurlDownload.cpp	2016-05-31 15:58:14 UTC (rev 201514)
+++ trunk/Source/WebCore/platform/network/curl/CurlDownload.cpp	2016-05-31 17:53:20 UTC (rev 201515)
@@ -413,9 +413,9 @@
         }
     } else {
         callOnMainThread([this, header = header.isolatedCopy(), protectedThis = Ref<CurlDownload>(*this)] {
-            int splitPos = header.string().find(":");
+            int splitPos = header.find(":");
             if (splitPos != -1)
-                m_response.setHTTPHeaderField(header.string().left(splitPos), header.string().substring(splitPos + 1).stripWhiteSpace());
+                m_response.setHTTPHeaderField(header.left(splitPos), header.substring(splitPos + 1).stripWhiteSpace());
         });
     }
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to