Skip to content

Commit f9a08c5

Browse files
committed
1 parent ce6d4a2 commit f9a08c5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

shell/browser/api/electron_api_web_contents.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2835,7 +2835,8 @@ void WebContents::EnableDeviceEmulation(
28352835
frame_host->GetView()->GetRenderWidgetHost());
28362836
if (widget_host_impl) {
28372837
auto& frame_widget = widget_host_impl->GetAssociatedFrameWidget();
2838-
frame_widget->EnableDeviceEmulation(params);
2838+
frame_widget->EnableDeviceEmulation(
2839+
params, blink::mojom::DeviceEmulationCacheBehavior::kClearCache);
28392840
}
28402841
}
28412842
}

0 commit comments

Comments
 (0)