| Index: third_party/WebKit/Source/platform/wtf/Assertions.cpp
|
| diff --git a/third_party/WebKit/Source/platform/wtf/Assertions.cpp b/third_party/WebKit/Source/platform/wtf/Assertions.cpp
|
| index 20c783cac66557f654fae0d3fd80dea3b6d45c81..0232f67115414708449f0719878f2c398ee4a30f 100644
|
| --- a/third_party/WebKit/Source/platform/wtf/Assertions.cpp
|
| +++ b/third_party/WebKit/Source/platform/wtf/Assertions.cpp
|
| @@ -128,7 +128,7 @@ static void vprintf_stderr_with_trailing_newline(const char* format,
|
| #pragma GCC diagnostic pop
|
| #endif
|
|
|
| -#if !LOG_DISABLED
|
| +#if DCHECK_IS_ON()
|
| namespace WTF {
|
|
|
| ScopedLogger::ScopedLogger(bool condition, const char* format, ...)
|
| @@ -216,7 +216,7 @@ ScopedLogger::PrintFunctionPtr ScopedLogger::print_func_ =
|
| vprintf_stderr_common;
|
|
|
| } // namespace WTF
|
| -#endif // !LOG_DISABLED
|
| +#endif // DCHECK_IS_ON
|
|
|
| void WTFLogAlways(const char* format, ...) {
|
| va_list args;
|
|
|