summaryrefslogtreecommitdiffstats
path: root/layout/style/SheetLoadData.h
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/SheetLoadData.h')
-rw-r--r--layout/style/SheetLoadData.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/layout/style/SheetLoadData.h b/layout/style/SheetLoadData.h
index c817e4c1f3..6621af35bd 100644
--- a/layout/style/SheetLoadData.h
+++ b/layout/style/SheetLoadData.h
@@ -90,7 +90,9 @@ class SheetLoadData final
// so aBytes1 and aBytes2 refer to those pieces.
nsresult VerifySheetReadyToParse(nsresult aStatus, const nsACString& aBytes1,
const nsACString& aBytes2,
- nsIChannel* aChannel);
+ nsIChannel* aChannel,
+ nsIURI* aFinalChannelURI,
+ nsIPrincipal* aPrincipal);
NS_DECL_ISUPPORTS
@@ -237,6 +239,8 @@ class SheetLoadData final
// listening for the load.
bool mIntentionallyDropped = false;
+ const bool mRecordErrors;
+
bool ShouldDefer() const { return mWasAlternate || !mMediaMatched; }
RefPtr<StyleSheet> ValueForCache() const;