summaryrefslogtreecommitdiffstats
path: root/net/base/sdch_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/sdch_manager.cc')
-rw-r--r--net/base/sdch_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/sdch_manager.cc b/net/base/sdch_manager.cc
index 6887fd0..9c8883f 100644
--- a/net/base/sdch_manager.cc
+++ b/net/base/sdch_manager.cc
@@ -207,7 +207,7 @@ SdchManager::SdchManager() : sdch_enabled_(false) {
}
SdchManager::~SdchManager() {
- DCHECK(global_ == this);
+ DCHECK_EQ(this, global_);
while (!dictionaries_.empty()) {
DictionaryMap::iterator it = dictionaries_.begin();
it->second->Release();
@@ -388,7 +388,7 @@ bool SdchManager::AddSdchDictionary(const std::string& dictionary_text,
while (1) {
size_t line_end = dictionary_text.find('\n', line_start);
DCHECK(std::string::npos != line_end);
- DCHECK(line_end <= header_end);
+ DCHECK_LE(line_end, header_end);
size_t colon_index = dictionary_text.find(':', line_start);
if (std::string::npos == colon_index) {