Bug 1615609 - Rename nsRefreshDriver::IntersectionObservationAdded. r=hiro

The existing name is wrong since recently.

Differential Revision: https://phabricator.services.mozilla.com/D62922
This commit is contained in:
Emilio Cobos Álvarez
2020-02-15 07:23:51 +00:00
parent 59bb8eb6b6
commit 81f5747d96
3 changed files with 8 additions and 7 deletions

View File

@@ -162,7 +162,7 @@ void DOMIntersectionObserver::Observe(Element& aTarget) {
Connect();
if (mDocument) {
if (nsPresContext* pc = mDocument->GetPresContext()) {
pc->RefreshDriver()->IntersectionObservationAdded();
pc->RefreshDriver()->EnsureIntersectionObservationsUpdateHappens();
}
}
}