mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 968804 - Part e: Add outer window assertions to PreloadLocalStorage; r=peterv
This commit is contained in:
parent
a57f2d4cb0
commit
01d101fd7d
@ -2690,6 +2690,8 @@ nsGlobalWindow::SetNewDocument(nsIDocument* aDocument,
|
||||
void
|
||||
nsGlobalWindow::PreloadLocalStorage()
|
||||
{
|
||||
MOZ_ASSERT(IsOuterWindow());
|
||||
|
||||
if (!Preferences::GetBool(kStorageEnabled)) {
|
||||
return;
|
||||
}
|
||||
|
@ -1348,6 +1348,7 @@ protected:
|
||||
bool aDefaultStylesOnly,
|
||||
nsIDOMCSSStyleDeclaration** aReturn);
|
||||
|
||||
// Outer windows only.
|
||||
void PreloadLocalStorage();
|
||||
|
||||
// Returns device pixels. Outer windows only.
|
||||
|
Loading…
Reference in New Issue
Block a user