Changeset 201515 in webkit
- Timestamp:
- May 31, 2016, 10:53:20 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/network/curl/CurlDownload.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r201511 r201515 1 2016-05-31 Alex Christensen <achristensen@webkit.org> 2 3 Build fix after r201482. 4 5 * platform/network/curl/CurlDownload.cpp: 6 (WebCore::CurlDownload::didReceiveHeader): 7 header used to be capturedHeader, which was a StringCapture, which needed .string() to get the String. 8 Now it's a WTF::String, so we already have the String. Hooray for c++14! 9 1 10 2016-05-31 Sergio Villar Senin <svillar@igalia.com> 2 11 -
trunk/Source/WebCore/platform/network/curl/CurlDownload.cpp
r201482 r201515 414 414 } else { 415 415 callOnMainThread([this, header = header.isolatedCopy(), protectedThis = Ref<CurlDownload>(*this)] { 416 int splitPos = header. string().find(":");416 int splitPos = header.find(":"); 417 417 if (splitPos != -1) 418 m_response.setHTTPHeaderField(header. string().left(splitPos), header.string().substring(splitPos + 1).stripWhiteSpace());418 m_response.setHTTPHeaderField(header.left(splitPos), header.substring(splitPos + 1).stripWhiteSpace()); 419 419 }); 420 420 }
Note:
See TracChangeset
for help on using the changeset viewer.