diff --git a/chromium_src/third_party/blink/renderer/core/frame/local_dom_window.cc b/chromium_src/third_party/blink/renderer/core/frame/local_dom_window.cc index 42541126c939..af2418bf16ea 100644 --- a/chromium_src/third_party/blink/renderer/core/frame/local_dom_window.cc +++ b/chromium_src/third_party/blink/renderer/core/frame/local_dom_window.cc @@ -95,13 +95,16 @@ int LocalDOMWindow::screenY() const { : screenY_ChromiumImpl(); } -void LocalDOMWindow::resizeTo(int width, int height) const { +void LocalDOMWindow::resizeTo(int width, + int height, + ExceptionState& exception_state) const { ExecutionContext* context = GetExecutionContext(); if (BlockScreenFingerprinting(context)) { resizeTo_ChromiumImpl(width + outerWidth_ChromiumImpl() - outerWidth(), - height + outerHeight_ChromiumImpl() - outerHeight()); + height + outerHeight_ChromiumImpl() - outerHeight(), + exception_state); } else { - resizeTo_ChromiumImpl(width, height); + resizeTo_ChromiumImpl(width, height, exception_state); } } diff --git a/chromium_src/third_party/blink/renderer/core/frame/local_dom_window.h b/chromium_src/third_party/blink/renderer/core/frame/local_dom_window.h index 68b819496e1d..8f2bac4da56d 100644 --- a/chromium_src/third_party/blink/renderer/core/frame/local_dom_window.h +++ b/chromium_src/third_party/blink/renderer/core/frame/local_dom_window.h @@ -36,8 +36,9 @@ screenY_ChromiumImpl() const; \ int screenTop -#define resizeTo \ - resizeTo_ChromiumImpl(int width, int height) const; \ +#define resizeTo \ + resizeTo_ChromiumImpl(int width, int height, \ + ExceptionState& exception_state) const; \ void resizeTo #define moveTo \