Index: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp |
diff --git a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp |
index a0f21c8e41034df0eee161448d2e4e2f586f05a0..e6433ce8d637911dccb6b679e4e5267d3aceeb53 100644 |
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp |
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp |
@@ -373,12 +373,16 @@ void WebURLResponse::setServiceWorkerResponseType( |
m_resourceResponse->setServiceWorkerResponseType(value); |
} |
-WebURL WebURLResponse::originalURLViaServiceWorker() const { |
- return m_resourceResponse->originalURLViaServiceWorker(); |
+void WebURLResponse::setURLListViaServiceWorker( |
+ const blink::WebVector<blink::WebURL>& urlListViaServiceWorker) { |
+ Vector<KURL> urlList(urlListViaServiceWorker.size()); |
+ std::transform(urlListViaServiceWorker.begin(), urlListViaServiceWorker.end(), |
+ urlList.begin(), [](const blink::WebURL& url) { return url; }); |
+ m_resourceResponse->setURLListViaServiceWorker(urlList); |
} |
-void WebURLResponse::setOriginalURLViaServiceWorker(const WebURL& url) { |
- m_resourceResponse->setOriginalURLViaServiceWorker(url); |
+blink::WebURL WebURLResponse::originalURLViaServiceWorker() const { |
falken
2016/11/30 14:57:38
Do we need all the blink::'s in the above lines?
horo
2016/12/01 07:42:14
Done.
|
+ return m_resourceResponse->originalURLViaServiceWorker(); |
} |
void WebURLResponse::setMultipartBoundary(const char* bytes, size_t size) { |