| Index: base/test/trace_to_file.cc
|
| diff --git a/base/test/trace_to_file.cc b/base/test/trace_to_file.cc
|
| index 6caaf47af32bbf3feedd17bce2a1e5af9272d500..423f65c125dc610717a0ccf293aa5e5343aea213 100644
|
| --- a/base/test/trace_to_file.cc
|
| +++ b/base/test/trace_to_file.cc
|
| @@ -67,8 +67,8 @@ void TraceToFile::AppendFileFooter() {
|
| }
|
|
|
| void TraceToFile::TraceOutputCallback(const std::string& data) {
|
| - int ret = AppendToFile(path_, data.c_str(), static_cast<int>(data.size()));
|
| - DCHECK_NE(-1, ret);
|
| + bool ret = AppendToFile(path_, data.c_str(), static_cast<int>(data.size()));
|
| + DCHECK(ret);
|
| }
|
|
|
| static void OnTraceDataCollected(
|
|
|