diff --git a/src/core/SkColorSpace.cpp b/src/core/SkColorSpace.cpp index 8424513961..5499469651 100644 --- a/src/core/SkColorSpace.cpp +++ b/src/core/SkColorSpace.cpp @@ -174,7 +174,7 @@ sk_sp SkColorSpace::NewNamed(Named named) { #define return_null(msg) \ do { \ - SkDebugf("Invalid ICC Profile: %s.\n", (msg)); \ + SkColorSpacePrintf("Invalid ICC Profile: %s.\n", (msg)); \ return nullptr; \ } while (0)