Index: third_party/WebKit/Source/modules/fetch/FetchManager.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp |
index 39e8daaac8f00a839a7de5edd9c2f199df3a7b22..3937edec1d32ea38f8cee1cc5bc21149a9c8e082 100644 |
--- a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp |
@@ -556,7 +556,7 @@ void FetchManager::Loader::loadSucceeded() { |
m_finished = true; |
if (document() && document()->frame() && document()->frame()->page() && |
- m_responseHttpStatusCode >= 200 && m_responseHttpStatusCode < 300) { |
+ FetchUtils::isOkStatus(m_responseHttpStatusCode)) { |
document()->frame()->page()->chromeClient().ajaxSucceeded( |
document()->frame()); |
} |