From 1f46e61e01da2322efb76ac7e5d202a28dbd05f2 Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Thu, 27 Jul 2023 13:27:35 -0700 Subject: [PATCH] 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. --- engine/src/flutter/flow/layers/platform_view_layer.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/src/flutter/flow/layers/platform_view_layer.cc b/engine/src/flutter/flow/layers/platform_view_layer.cc index 622bc61aed..d641a12665 100644 --- a/engine/src/flutter/flow/layers/platform_view_layer.cc +++ b/engine/src/flutter/flow/layers/platform_view_layer.cc @@ -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_);