diff options
Diffstat (limited to '')
-rw-r--r-- | dom/base/nsCopySupport.h | 4 |
1 files changed, 3 insertions, 1 deletions
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. |