| Index: webrtc/base/logging.cc
|
| diff --git a/webrtc/base/logging.cc b/webrtc/base/logging.cc
|
| index 0bc3866b7b87473a2addabdb93a8ac366101b0e2..affbb03bd4d80dadd02da99afda95a9801a30aa2 100644
|
| --- a/webrtc/base/logging.cc
|
| +++ b/webrtc/base/logging.cc
|
| @@ -132,7 +132,8 @@ LogMessage::LogMessage(const char* file, int line, LoggingSeverity sev,
|
| print_stream_ << "[" << std::dec << id << "] ";
|
| }
|
|
|
| - print_stream_ << "(" << FilenameFromPath(file) << ":" << line << "): ";
|
| + if (file != NULL)
|
| + print_stream_ << "(" << FilenameFromPath(file) << ":" << line << "): ";
|
|
|
| if (err_ctx != ERRCTX_NONE) {
|
| std::ostringstream tmp;
|
|
|