summaryrefslogtreecommitdiffstats
path: root/dom/base/nsGlobalWindowInner.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/nsGlobalWindowInner.h')
-rw-r--r--dom/base/nsGlobalWindowInner.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/base/nsGlobalWindowInner.h b/dom/base/nsGlobalWindowInner.h
index 15fbc4259f..215e362dad 100644
--- a/dom/base/nsGlobalWindowInner.h
+++ b/dom/base/nsGlobalWindowInner.h
@@ -120,7 +120,7 @@ class OwningExternalOrWindowProxy;
class Promise;
class PostMessageEvent;
struct RequestInit;
-class RequestOrUSVString;
+class RequestOrUTF8String;
class SharedWorker;
class Selection;
struct SizeToContentConstraints;
@@ -671,7 +671,7 @@ class nsGlobalWindowInner final : public mozilla::dom::EventTarget,
already_AddRefed<mozilla::dom::cache::CacheStorage> GetCaches(
mozilla::ErrorResult& aRv);
already_AddRefed<mozilla::dom::Promise> Fetch(
- const mozilla::dom::RequestOrUSVString& aInput,
+ const mozilla::dom::RequestOrUTF8String& aInput,
const mozilla::dom::RequestInit& aInit,
mozilla::dom::CallerType aCallerType, mozilla::ErrorResult& aRv);
MOZ_CAN_RUN_SCRIPT void Print(mozilla::ErrorResult& aError);