Index: content/browser/download/save_item.cc |
diff --git a/content/browser/download/save_item.cc b/content/browser/download/save_item.cc |
index d19baab43c81f017446380cf0698cd0e0fb3078c..820a27e91daf1dfd08ce1edfcc88a737861552fd 100644 |
--- a/content/browser/download/save_item.cc |
+++ b/content/browser/download/save_item.cc |
@@ -46,7 +46,7 @@ SaveItem::~SaveItem() {} |
// Set start state for save item. |
void SaveItem::Start() { |
- DCHECK(state_ == WAIT_START); |
+ DCHECK_EQ(state_, WAIT_START); |
state_ = IN_PROGRESS; |
} |
@@ -93,7 +93,8 @@ void SaveItem::Finish(int64_t size, bool is_success) { |
} |
void SaveItem::SetTargetPath(const base::FilePath& full_path) { |
- DCHECK(!full_path.empty() && !has_final_name()); |
+ DCHECK(!full_path.empty()); |
+ DCHECK(!has_final_name()); |
full_path_ = full_path; |
} |