| Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| index 6bfe79f90773bee17c7d9503d1101ce47d07e072..63a756bd956e03b5e45cecf9bfca1515eec8ce8b 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| @@ -458,19 +458,6 @@ void DocumentLoader::FinishedLoading(double finish_time) {
|
| application_cache_host_->FinishedLoadingMainResource();
|
| EndWriting();
|
| ClearMainResourceHandle();
|
| -
|
| - // Shows the deprecation message and measures the impact of the new security
|
| - // restriction which disallows responding to navigation requests with
|
| - // redirected responses in the service worker.
|
| - // TODO(horo): Remove this when we actually introduce the restriction in
|
| - // RespondWithObserver.
|
| - if (response_.WasFetchedViaServiceWorker() &&
|
| - response_.UrlListViaServiceWorker().size() > 1) {
|
| - Deprecation::CountDeprecation(
|
| - frame_,
|
| - UseCounter::
|
| - kServiceWorkerRespondToNavigationRequestWithRedirectedResponse);
|
| - }
|
| }
|
|
|
| bool DocumentLoader::RedirectReceived(
|
|
|