diff options
author | Matt A. Tobin <email@mattatobin.com> | 2022-04-27 16:01:54 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2022-04-27 16:01:54 -0500 |
commit | 7cf07296a23e71bbb4277c4f6c6b1da00cd6bf4c (patch) | |
tree | 2dc1a4dceda223d07bba6015bd8d5a2093666ad1 /dom/html/HTMLImageElement.cpp | |
parent | 2af0aa91e0ed0e6a8e3f0759e43272a92ebfd22e (diff) | |
download | aura-central-7cf07296a23e71bbb4277c4f6c6b1da00cd6bf4c.tar.gz |
[DOM/Layout/System:Image] Remove use counters telemetry
Diffstat (limited to 'dom/html/HTMLImageElement.cpp')
-rw-r--r-- | dom/html/HTMLImageElement.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
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<imgIRequest> request; - GetRequest(CURRENT_REQUEST, getter_AddRefs(request)); - - nsCOMPtr<imgIContainer> container; - request->GetImage(getter_AddRefs(container)); -} - } // namespace dom } // namespace mozilla |