[skottie] Drop legacy effect logging
All clients have been updated TBR= Change-Id: I29e89d43606945f13e9933d34218b61be71db63d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/261279 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Florin Malita <fmalita@chromium.org>
This commit is contained in:
parent
9f744f7ece
commit
c8bf7969ec
@ -79,13 +79,8 @@ EffectBuilder::EffectBuilderT EffectBuilder::findBuilder(const skjson::ObjectVal
|
|||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SKOTTIE_LEGACY_EFFECT_LOGFMT
|
|
||||||
fBuilder->log(Logger::Level::kWarning, nullptr,
|
|
||||||
"Unsupported layer effect type: %d.", ParseDefault<int>(jeffect["ty"], -1));
|
|
||||||
#else
|
|
||||||
fBuilder->log(Logger::Level::kWarning, &jeffect,
|
fBuilder->log(Logger::Level::kWarning, &jeffect,
|
||||||
"Unsupported layer effect: %s", mn ? mn->begin() : "(unknown)");
|
"Unsupported layer effect: %s", mn ? mn->begin() : "(unknown)");
|
||||||
#endif
|
|
||||||
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user