author | Daniel Holbert <dholbert@cs.stanford.edu> |
Thu, 07 May 2020 23:13:51 +0000 | |
changeset 528715 | ead8f0367372fe5767d33a0aa0a95b07ee76ea75 |
parent 528714 | f63a19d7effa285d05013488a3ed32bd3e71be81 |
child 528716 | 50244579252a229131ae04a1d2c60682611e5702 |
child 528717 | 4c1410654ab76a76d4b050227b31597e79b3e28e |
push id | 37393 |
push user | rmaries@mozilla.com |
push date | Fri, 08 May 2020 03:38:07 +0000 |
treeherder | mozilla-central@ead8f0367372 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | boris |
bugs | 1635941 |
milestone | 78.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/dom/base/Element.cpp +++ b/dom/base/Element.cpp @@ -3785,30 +3785,23 @@ void Element::UnlinkIntersectionObserver RemoveProperty(nsGkAtoms::intersectionobserverlist); } bool Element::UpdateIntersectionObservation(DOMIntersectionObserver* aObserver, int32_t aThreshold) { auto* observers = static_cast<IntersectionObserverList*>( GetProperty(nsGkAtoms::intersectionobserverlist)); if (!observers) { - printf("%s %d\n", __func__, __LINE__); return false; } bool updated = false; if (auto entry = observers->Lookup(aObserver)) { updated = entry.Data() != aThreshold; - printf("%d \t", entry.Data()); entry.Data() = aThreshold; } - nsAutoString id; - GetId(id); - printf("%s %s %d %d t:%d\n", - NS_ConvertUTF16toUTF8(id).get(), - __func__, __LINE__, updated, aThreshold); return updated; } template <class T> void Element::GetCustomInterface(nsGetterAddRefs<T> aResult) { nsCOMPtr<nsISupports> iface = CustomElementRegistry::CallGetCustomInterface( this, NS_GET_TEMPLATE_IID(T)); if (iface) {