Index: base/pickle.cc |
diff --git a/base/pickle.cc b/base/pickle.cc |
index 116d3f1bf6ee94de811040d642cc04397708aab0..afe35db5c9c7d74dc0616aa89527157813b1e97f 100644 |
--- a/base/pickle.cc |
+++ b/base/pickle.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -33,7 +33,7 @@ Pickle::Pickle(int header_size) |
header_size_(AlignInt(header_size, sizeof(uint32))), |
capacity_(0), |
variable_buffer_offset_(0) { |
- DCHECK(static_cast<size_t>(header_size) >= sizeof(Header)); |
+ DCHECK_GE(static_cast<size_t>(header_size), sizeof(Header)); |
DCHECK(header_size <= kPayloadUnit); |
Resize(kPayloadUnit); |
header_->payload_size = 0; |