From 7cf07296a23e71bbb4277c4f6c6b1da00cd6bf4c Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Wed, 27 Apr 2022 16:01:54 -0500 Subject: [DOM/Layout/System:Image] Remove use counters telemetry --- dom/html/HTMLImageElement.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'dom/html/HTMLImageElement.cpp') diff --git a/dom/html/HTMLImageElement.cpp b/dom/html/HTMLImageElement.cpp index cb586d68a..f7fe0fdce 100644 --- a/dom/html/HTMLImageElement.cpp +++ b/dom/html/HTMLImageElement.cpp @@ -10,7 +10,6 @@ #include "nsPresContext.h" #include "nsMappedAttributes.h" #include "nsSize.h" -#include "nsDocument.h" #include "nsIDocument.h" #include "nsIDOMMutationEvent.h" #include "nsIScriptContext.h" @@ -27,7 +26,6 @@ #include "mozilla/dom/HTMLFormElement.h" #include "nsAttrValueOrString.h" #include "imgLoader.h" -#include "Image.h" // Responsive images! #include "mozilla/dom/HTMLSourceElement.h" @@ -1362,16 +1360,6 @@ HTMLImageElement::MediaFeatureValuesChanged() QueueImageLoadTask(false); } -void -HTMLImageElement::FlushUseCounters() -{ - nsCOMPtr request; - GetRequest(CURRENT_REQUEST, getter_AddRefs(request)); - - nsCOMPtr container; - request->GetImage(getter_AddRefs(container)); -} - } // namespace dom } // namespace mozilla -- cgit v1.2.3