skia: change skia SkDebugf() log level to error when dcheck is on
Change-Id: I19456121d2bc4aec3a67d08328f4ad2e6bd49bb3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3453386 Auto-Submit: Peng Huang <penghuang@chromium.org> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com> Cr-Commit-Position: refs/heads/main@{#969666}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
13072a47ac
commit
f60606092a
@ -11,7 +11,11 @@
|
||||
#include "third_party/skia/include/core/SkTypes.h"
|
||||
|
||||
void SkDebugf_FileLine(const char* file, int line, const char* format, ...) {
|
||||
#if DCHECK_IS_ON()
|
||||
int severity = logging::LOG_ERROR;
|
||||
#else
|
||||
int severity = logging::LOG_INFO;
|
||||
#endif
|
||||
if (severity < logging::GetMinLogLevel())
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user