| 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 d7ba41c24132cdaa211c341f26ef04d69ac5a41b..3856ebf7c52e1fa53bb7b885852107475d1e3b23 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| @@ -217,11 +217,6 @@ Resource* DocumentLoader::StartPreload(Resource::Type type,
|
| NOTREACHED();
|
| }
|
|
|
| - // CSP layout tests verify that preloads are subject to access checks by
|
| - // seeing if they are in the `preload started` list. Therefore do not add
|
| - // them to the list if the load is immediately denied.
|
| - if (resource && !resource->GetResourceError().IsAccessCheck())
|
| - Fetcher()->PreloadStarted(resource);
|
| return resource;
|
| }
|
|
|
|
|