Hide some log lines from release builds (flutter/engine#44073)

These lines are appearing in framework tests but do not appear to have significant diagnostic value.
This commit is contained in:
Ian Hickson
2023-07-27 13:27:35 -07:00
committed by GitHub
parent 395ef95602
commit 1f46e61e01

View File

@@ -18,8 +18,8 @@ void PlatformViewLayer::Preroll(PrerollContext* context) {
size_.height()));
if (context->view_embedder == nullptr) {
FML_LOG(ERROR) << "Trying to embed a platform view but the PrerollContext "
"does not support embedding";
FML_DLOG(ERROR) << "Trying to embed a platform view but the PrerollContext "
"does not support embedding";
return;
}
context->has_platform_view = true;
@@ -36,8 +36,8 @@ void PlatformViewLayer::Preroll(PrerollContext* context) {
void PlatformViewLayer::Paint(PaintContext& context) const {
if (context.view_embedder == nullptr) {
FML_LOG(ERROR) << "Trying to embed a platform view but the PaintContext "
"does not support embedding";
FML_DLOG(ERROR) << "Trying to embed a platform view but the PaintContext "
"does not support embedding";
return;
}
DlCanvas* canvas = context.view_embedder->CompositeEmbeddedView(view_id_);