| Index: third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
|
| diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
|
| index 5b3016ed4dee6f4f740229658cc5aeba0768713c..e1403a6f7c9a8b0e26e09a0bd2b152fe496bb272 100644
|
| --- a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
|
| +++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
|
| @@ -604,9 +604,8 @@ Resource* ResourceFetcher::RequestResource(
|
|
|
| // An URL with the "cid" scheme can only be handled by an MHTML Archive.
|
| // Abort the request when there is none.
|
| - if (resource_request.Url().ProtocolIs(kContentIdScheme) && !archive_) {
|
| + if (!archive_ && resource_request.Url().ProtocolIs(kContentIdScheme))
|
| return nullptr;
|
| - }
|
|
|
| bool is_data_url = resource_request.Url().ProtocolIsData();
|
| bool is_static_data = is_data_url || substitute_data.IsValid() || archive_;
|
|
|