Changeset 249524 in webkit
- Timestamp:
- Sep 4, 2019 11:02:53 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r249519 r249524 1 2019-09-04 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [Win][Clang] InspectorNetworkAgent.cpp(1122,20): error: cannot decompose this type; 'std::tuple_size<const WTF::KeyValuePair<WTF::String, WTF::RefPtr<WTF::JSONImpl::Value, WTF::DumbPtrTraits<WTF::JSONImpl::Value> > >>::value' is not a valid integral const 4 https://bugs.webkit.org/show_bug.cgi?id=201489 5 6 Unreviewed build fix for clang-cl. 7 8 clang-cl 8 can't use a structured binding for a const struct. 9 10 No behavior change. 11 12 * inspector/agents/InspectorNetworkAgent.cpp: 13 (WebCore::InspectorNetworkAgent::interceptWithResponse): Not to use a structured binding for a const struct. 14 1 15 2019-09-04 Chris Dumez <cdumez@apple.com> 2 16 -
trunk/Source/WebCore/inspector/agents/InspectorNetworkAgent.cpp
r249504 r249524 1120 1120 if (headers) { 1121 1121 HTTPHeaderMap explicitHeaders; 1122 for (auto& [key, value]: *headers) {1122 for (auto& header : *headers) { 1123 1123 String headerValue; 1124 if ( value->asString(headerValue))1125 explicitHeaders.add( key, headerValue);1124 if (header.value->asString(headerValue)) 1125 explicitHeaders.add(header.key, headerValue); 1126 1126 } 1127 1127 overrideResponse.setHTTPHeaderFields(WTFMove(explicitHeaders));
Note: See TracChangeset
for help on using the changeset viewer.