| 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..0c0131327ef2b175dafd74af2beb8ed23cbbe33b 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| @@ -507,8 +507,8 @@ bool DocumentLoader::ShouldContinueForResponse() const {
|
| return false;
|
| }
|
|
|
| - if (GetContentDispositionType(response_.HttpHeaderField(
|
| - HTTPNames::Content_Disposition)) == kContentDispositionAttachment) {
|
| + if (IsContentDispositionAttachment(
|
| + response_.HttpHeaderField(HTTPNames::Content_Disposition))) {
|
| // The server wants us to download instead of replacing the page contents.
|
| // Downloading is handled by the embedder, but we still get the initial
|
| // response so that we can ignore it and clean up properly.
|
|
|