Index: components/drive/drive_uploader.cc |
diff --git a/components/drive/drive_uploader.cc b/components/drive/drive_uploader.cc |
index 93a02876d7a8de8177a827c24da0e89434ebc862..2253c823daf4b57e54f5c769be11dbfa7c3f3770 100644 |
--- a/components/drive/drive_uploader.cc |
+++ b/components/drive/drive_uploader.cc |
@@ -200,7 +200,7 @@ CancelCallback DriveUploader::UploadNewFile( |
} |
void DriveUploader::StartBatchProcessing() { |
- DCHECK(current_batch_request_ == nullptr); |
+ DCHECK(!current_batch_request_); |
current_batch_request_ = |
new RefCountedBatchRequest(drive_service_->StartBatchRequest()); |
} |