fix: provide DeviceEmulationCacheBehavior param

https://chromium-review.googlesource.com/c/chromium/src/+/6965238
This commit is contained in:
Samuel Maddock
2025-10-08 14:26:06 -04:00
parent ce6d4a2cd1
commit f9a08c5384

View File

@@ -2835,7 +2835,8 @@ void WebContents::EnableDeviceEmulation(
frame_host->GetView()->GetRenderWidgetHost());
if (widget_host_impl) {
auto& frame_widget = widget_host_impl->GetAssociatedFrameWidget();
frame_widget->EnableDeviceEmulation(params);
frame_widget->EnableDeviceEmulation(
params, blink::mojom::DeviceEmulationCacheBehavior::kClearCache);
}
}
}