summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-06-27 08:03:48 +0000
committerMoonchild <moonchild@palemoon.org>2022-06-27 08:03:48 +0000
commit904af3005d0168bb1703831bc8da948d48c61cf7 (patch)
tree9911a3f7b4f4a1b263a12419f664752019508141
parent7e5ab94e0c5643a3d3a2f20b63b8337af389b574 (diff)
downloaduxp-904af3005d0168bb1703831bc8da948d48c61cf7.tar.gz
Issue #21 - Follow-up: Remove some left-over telemetry plumbing.
-rw-r--r--dom/plugins/ipc/PluginInstanceParent.cpp1
-rw-r--r--dom/plugins/ipc/PluginInstanceParent.h5
-rw-r--r--netwerk/cache2/OldWrappers.cpp2
-rw-r--r--netwerk/cache2/OldWrappers.h2
4 files changed, 0 insertions, 10 deletions
diff --git a/dom/plugins/ipc/PluginInstanceParent.cpp b/dom/plugins/ipc/PluginInstanceParent.cpp
index 372a7a238b..ee88819d56 100644
--- a/dom/plugins/ipc/PluginInstanceParent.cpp
+++ b/dom/plugins/ipc/PluginInstanceParent.cpp
@@ -125,7 +125,6 @@ PluginInstanceParent::PluginInstanceParent(PluginModuleParent* parent,
, mNPNIface(npniface)
, mWindowType(NPWindowTypeWindow)
, mDrawingModel(kDefaultDrawingModel)
- , mLastRecordedDrawingModel(-1)
, mFrameID(0)
#if defined(OS_WIN)
, mPluginHWND(nullptr)
diff --git a/dom/plugins/ipc/PluginInstanceParent.h b/dom/plugins/ipc/PluginInstanceParent.h
index cb85378db6..637f82dcc1 100644
--- a/dom/plugins/ipc/PluginInstanceParent.h
+++ b/dom/plugins/ipc/PluginInstanceParent.h
@@ -399,11 +399,6 @@ private:
NPWindowType mWindowType;
int16_t mDrawingModel;
- // Since plugins may request different drawing models to find a compatible
- // one, we only record the drawing model after a SetWindow call and if the
- // drawing model has changed.
- int mLastRecordedDrawingModel;
-
nsDataHashtable<nsPtrHashKey<NPObject>, PluginScriptableObjectParent*> mScriptableObjects;
// This is used to tell the compositor that it should invalidate the ImageLayer.
diff --git a/netwerk/cache2/OldWrappers.cpp b/netwerk/cache2/OldWrappers.cpp
index 76a4fa6c19..3ff62244b5 100644
--- a/netwerk/cache2/OldWrappers.cpp
+++ b/netwerk/cache2/OldWrappers.cpp
@@ -692,8 +692,6 @@ nsresult _OldCacheLoad::Start()
{
LOG(("_OldCacheLoad::Start [this=%p, key=%s]", this, mCacheKey.get()));
- mLoadStart = mozilla::TimeStamp::Now();
-
nsresult rv;
// Consumers that can invoke this code as first and off the main thread
diff --git a/netwerk/cache2/OldWrappers.h b/netwerk/cache2/OldWrappers.h
index f85b0741ac..a825f3762b 100644
--- a/netwerk/cache2/OldWrappers.h
+++ b/netwerk/cache2/OldWrappers.h
@@ -204,8 +204,6 @@ private:
nsresult mStatus;
uint32_t mRunCount;
nsCOMPtr<nsIApplicationCache> mAppCache;
-
- mozilla::TimeStamp mLoadStart;
};