diff --git a/v3/pkg/webcontentsview/webcontentsview_windows.go b/v3/pkg/webcontentsview/webcontentsview_windows.go index e6721ef8f..0300cb01d 100644 --- a/v3/pkg/webcontentsview/webcontentsview_windows.go +++ b/v3/pkg/webcontentsview/webcontentsview_windows.go @@ -60,7 +60,7 @@ func (w *windowsWebContentsView) setBounds(bounds application.Rect) { Right: int32(bounds.X + bounds.Width), Bottom: int32(bounds.Y + bounds.Height), } - w.chromium.ResizeWithBounds(edgeBounds) + w.chromium.ResizeWithBounds(&edgeBounds) } } @@ -89,6 +89,10 @@ func (w *windowsWebContentsView) execJS(js string) { } } +func (w *windowsWebContentsView) takeSnapshot() string { + return "" +} + func (w *windowsWebContentsView) attach(window application.Window) { if window.NativeWindow() != nil { w.hwnd = w32.HWND(window.NativeWindow())