| Index: third_party/WebKit/Source/platform/wtf/Assertions.h
|
| diff --git a/third_party/WebKit/Source/platform/wtf/Assertions.h b/third_party/WebKit/Source/platform/wtf/Assertions.h
|
| index 528d2751fe55994b950fdac9c80ff79140f740d1..cb506e514184db9a461f5f5710ddf0d1be4d086c 100644
|
| --- a/third_party/WebKit/Source/platform/wtf/Assertions.h
|
| +++ b/third_party/WebKit/Source/platform/wtf/Assertions.h
|
| @@ -43,17 +43,13 @@
|
| #include <windows.h>
|
| #endif
|
|
|
| -#ifndef LOG_DISABLED
|
| -#define LOG_DISABLED !DCHECK_IS_ON()
|
| -#endif
|
| -
|
| // WTFLogAlways() is deprecated. crbug.com/638849
|
| WTF_EXPORT PRINTF_FORMAT(1, 2) // NOLINT
|
| void WTFLogAlways(const char* format, ...);
|
|
|
| namespace WTF {
|
|
|
| -#if LOG_DISABLED
|
| +#if !DCHECK_IS_ON()
|
|
|
| #define WTF_CREATE_SCOPED_LOGGER(...) ((void)0)
|
| #define WTF_CREATE_SCOPED_LOGGER_IF(...) ((void)0)
|
| @@ -105,7 +101,7 @@ class WTF_EXPORT ScopedLogger {
|
| WTF::ScopedLogger name(condition, __VA_ARGS__)
|
| #define WTF_APPEND_SCOPED_LOGGER(name, ...) (name.Log(__VA_ARGS__))
|
|
|
| -#endif // LOG_DISABLED
|
| +#endif // !DCHECK_IS_ON()
|
|
|
| } // namespace WTF
|
|
|
|
|