summaryrefslogtreecommitdiffstats
path: root/dom/base/nsCopySupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/nsCopySupport.h')
-rw-r--r--dom/base/nsCopySupport.h4
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.