Backed out 6 changesets (bug 1937785) for causing Android reftests failures in retained-dl-async-scrolled-1.html. CLOSED TREE

Backed out changeset ca4ff44a38f3 (bug 1937785)
Backed out changeset 9ea29b89cbf5 (bug 1937785)
Backed out changeset 0e95190b1c76 (bug 1937785)
Backed out changeset 7f3f99057dbe (bug 1937785)
Backed out changeset cb38950d4787 (bug 1937785)
Backed out changeset 9e61d106beb8 (bug 1937785)
This commit is contained in:
Stanca Serban
2025-01-21 14:28:05 +02:00
parent a2ee279a0c
commit 7203de77bc
12 changed files with 29 additions and 130 deletions

View File

@@ -11344,7 +11344,7 @@ void PresShell::SetIsActive(bool aIsActive) {
}
}
MobileViewportManager* PresShell::GetMobileViewportManager() const {
RefPtr<MobileViewportManager> PresShell::GetMobileViewportManager() const {
return mMobileViewportManager;
}
@@ -11416,12 +11416,7 @@ void PresShell::MaybeRecreateMobileViewportManager(bool aAfterInitialization) {
("Created MVM %p (type %d) for URI %s", mMobileViewportManager.get(),
(int)*mvmType, uri ? uri->GetSpecOrDefault().get() : "(null)"));
}
if (BrowserChild* browserChild = BrowserChild::GetFrom(this)) {
mMobileViewportManager->UpdateKeyboardHeight(
browserChild->GetKeyboardHeight());
}
}
if (aAfterInitialization) {
// Setting the initial viewport will trigger a reflow.
if (mMobileViewportManager) {