From 276cb61dd9c975292ffc2cc62601d514a40bc82d Mon Sep 17 00:00:00 2001 From: LGH W Date: Thu, 19 Dec 2024 11:02:14 +0800 Subject: [PATCH] tesst Signed-off-by: LGH W --- ohos_nweb/src/cef_delegate/nweb_handler_delegate.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ohos_nweb/src/cef_delegate/nweb_handler_delegate.cc b/ohos_nweb/src/cef_delegate/nweb_handler_delegate.cc index b6dff16d2c..2451acba54 100644 --- a/ohos_nweb/src/cef_delegate/nweb_handler_delegate.cc +++ b/ohos_nweb/src/cef_delegate/nweb_handler_delegate.cc @@ -870,6 +870,9 @@ void NWebHandlerDelegate::OnBeforeClose(CefRefPtr browser) { } } else { content::GpuProcessHost* host = content::GpuProcessHost::Get(); + LOG(ERROR) << "wulonghui host address " << host; + LOG(ERROR) << "wulonghui gpu_host address " << host->gpu_host(); + LOG(ERROR) << "wulonghui main_browser_ address " << main_browser_; if (host != nullptr && host->gpu_host() != nullptr && main_browser_ != nullptr) { host->gpu_host()->DestroyNativeWindow(main_browser_->GetAcceleratedWidget(false)); } -- Gitee