зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 491ac50c7721 (bug 1795804) for causing mochitest failures on test_maximized_persist.xhtml. CLOSED TREE
This commit is contained in:
Родитель
268ec9a223
Коммит
b55f521867
|
@ -2803,7 +2803,10 @@ void AppWindow::SizeModeChanged(nsSizeMode aSizeMode) {
|
|||
|
||||
RecomputeBrowsingContextVisibility();
|
||||
|
||||
PersistentAttributesDirty(PersistentAttribute::Misc, Sync);
|
||||
// Persist mode, but not immediately, because in many (all?)
|
||||
// cases this will merge with the similar call in NS_SIZE and
|
||||
// write the attribute values only once.
|
||||
PersistentAttributesDirty(PersistentAttribute::Misc, Async);
|
||||
nsCOMPtr<nsPIDOMWindowOuter> ourWindow =
|
||||
mDocShell ? mDocShell->GetWindow() : nullptr;
|
||||
if (ourWindow) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче