зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1358832, don't flush layout when swapping frameloaders, r=bz
This commit is contained in:
Родитель
a200fe8303
Коммит
11f1740840
|
@ -1507,9 +1507,6 @@ nsFrameLoader::SwapWithOtherRemoteLoader(nsFrameLoader* aOther,
|
|||
ourShell->BackingScaleFactorChanged();
|
||||
otherShell->BackingScaleFactorChanged();
|
||||
|
||||
ourDoc->FlushPendingNotifications(FlushType::Layout);
|
||||
otherDoc->FlushPendingNotifications(FlushType::Layout);
|
||||
|
||||
// Initialize browser API if needed now that owner content has changed.
|
||||
InitializeBrowserAPI();
|
||||
aOther->InitializeBrowserAPI();
|
||||
|
@ -1950,9 +1947,6 @@ nsFrameLoader::SwapWithOtherLoader(nsFrameLoader* aOther,
|
|||
ourShell->BackingScaleFactorChanged();
|
||||
otherShell->BackingScaleFactorChanged();
|
||||
|
||||
ourParentDocument->FlushPendingNotifications(FlushType::Layout);
|
||||
otherParentDocument->FlushPendingNotifications(FlushType::Layout);
|
||||
|
||||
// Initialize browser API if needed now that owner content has changed
|
||||
InitializeBrowserAPI();
|
||||
aOther->InitializeBrowserAPI();
|
||||
|
|
Загрузка…
Ссылка в новой задаче