From a90a5cba08fdf6c0ceb95101c275108a152a3aed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:37 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- dom/base/nsCopySupport.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dom/base/nsCopySupport.h') diff --git a/dom/base/nsCopySupport.h b/dom/base/nsCopySupport.h index a6b4b5e783..5552e1a607 100644 --- a/dom/base/nsCopySupport.h +++ b/dom/base/nsCopySupport.h @@ -23,6 +23,7 @@ class PresShell; namespace dom { class Document; class Selection; +class WindowContext; } // namespace dom } // namespace mozilla @@ -46,7 +47,8 @@ class nsCopySupport { mozilla::dom::Document* aDoc, nsAString& outdata); static nsresult ImageCopy(nsIImageLoadingContent* aImageElement, - nsILoadContext* aLoadContext, int32_t aCopyFlags); + nsILoadContext* aLoadContext, int32_t aCopyFlags, + mozilla::dom::WindowContext* aSettingWindowContext); // Get the selection as a transferable. // @param aSelection Can be nullptr. -- cgit v1.2.3