summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/sdch_dictionary_fetcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/net/sdch_dictionary_fetcher.cc')
-rw-r--r--chrome/browser/net/sdch_dictionary_fetcher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/net/sdch_dictionary_fetcher.cc b/chrome/browser/net/sdch_dictionary_fetcher.cc
index 1b5c21c..3a36ff7 100644
--- a/chrome/browser/net/sdch_dictionary_fetcher.cc
+++ b/chrome/browser/net/sdch_dictionary_fetcher.cc
@@ -38,7 +38,7 @@ void SdchDictionaryFetcher::OnURLFetchComplete(const URLFetcher* source,
int response_code,
const ResponseCookies& cookies,
const std::string& data) {
- if (200 == response_code)
+ if ((200 == response_code) && (status.status() == URLRequestStatus::SUCCESS))
SdchManager::Global()->AddSdchDictionary(data, url);
current_fetch_.reset(NULL);
ScheduleDelayedRun();