summaryrefslogtreecommitdiff
path: root/layout/generic
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2022-04-04 22:54:59 +0800
committerFranklinDM <mrmineshafter17@gmail.com>2022-04-24 00:02:42 +0800
commit17b2aa76508e24b937fc92666bb0513360b103cc (patch)
tree68e865ffc347d36560614e6b68af91e2e96b6b75 /layout/generic
parent5aa65d2aeab36ea8de8129c0babcf70a5e4e662a (diff)
downloaduxp-17b2aa76508e24b937fc92666bb0513360b103cc.tar.gz
Issue #21 - Remove use counters telemetry
This reverts Bug 968923 - Implement some equivalent of Chrome's use counters (on top of telemetry?) For reference: https://bugzilla.mozilla.org/show_bug.cgi?id=968923
Diffstat (limited to 'layout/generic')
-rw-r--r--layout/generic/nsBulletFrame.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/layout/generic/nsBulletFrame.cpp b/layout/generic/nsBulletFrame.cpp
index db9a70aff6..dad2230b36 100644
--- a/layout/generic/nsBulletFrame.cpp
+++ b/layout/generic/nsBulletFrame.cpp
@@ -775,16 +775,6 @@ nsBulletFrame::Notify(imgIRequest *aRequest, int32_t aType, const nsIntRect* aDa
InvalidateFrame();
}
- if (aType == imgINotificationObserver::DECODE_COMPLETE) {
- if (nsIDocument* parent = GetOurCurrentDoc()) {
- nsCOMPtr<imgIContainer> container;
- aRequest->GetImage(getter_AddRefs(container));
- if (container) {
- container->PropagateUseCounters(parent);
- }
- }
- }
-
return NS_OK;
}