diff options
author | Moonchild <moonchild@palemoon.org> | 2021-10-29 11:02:27 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-02 14:39:54 +0200 |
commit | ee86d3eb9c468edbb81550d27114ed66b3d71ee5 (patch) | |
tree | a00ffa052ffb8d072203938f595548dcd3b2e0ed /layout/generic | |
parent | d0acadd727468ccaa4e3cbe3673e29890c2551ca (diff) | |
download | uxp-ee86d3eb9c468edbb81550d27114ed66b3d71ee5.tar.gz |
Issue #21 - Remove Telemetry plumbing and fix build.
Note this won't give working applications. Requires FE changes and
additional js module changes (next part).
Diffstat (limited to 'layout/generic')
-rw-r--r-- | layout/generic/nsGfxScrollFrame.cpp | 9 | ||||
-rw-r--r-- | layout/generic/nsSelection.cpp | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/layout/generic/nsGfxScrollFrame.cpp b/layout/generic/nsGfxScrollFrame.cpp index d1053da86d..83f5cff2be 100644 --- a/layout/generic/nsGfxScrollFrame.cpp +++ b/layout/generic/nsGfxScrollFrame.cpp @@ -43,7 +43,6 @@ #include "mozilla/dom/Element.h" #include <stdint.h> #include "mozilla/MathAlgorithms.h" -#include "mozilla/Telemetry.h" #include "FrameLayerBuilder.h" #include "nsSMILKeySpline.h" #include "nsSubDocumentFrame.h" @@ -1706,8 +1705,6 @@ public: , mCallee(nullptr) , mOneDevicePixelInAppUnits(aPresContext->DevPixelsToAppUnits(1)) { - Telemetry::SetHistogramRecordingEnabled( - Telemetry::FX_REFRESH_DRIVER_SYNC_SCROLL_FRAME_DELAY_MS, true); } NS_INLINE_DECL_REFCOUNTING(AsyncSmoothMSDScroll, override) @@ -1808,8 +1805,6 @@ private: // Private destructor, to discourage deletion outside of Release(): ~AsyncSmoothMSDScroll() { RemoveObserver(); - Telemetry::SetHistogramRecordingEnabled( - Telemetry::FX_REFRESH_DRIVER_SYNC_SCROLL_FRAME_DELAY_MS, false); } nsRefreshDriver* RefreshDriver(ScrollFrameHelper* aCallee) { @@ -1836,16 +1831,12 @@ public: : AsyncScrollBase(aStartPos) , mCallee(nullptr) { - Telemetry::SetHistogramRecordingEnabled( - Telemetry::FX_REFRESH_DRIVER_SYNC_SCROLL_FRAME_DELAY_MS, true); } private: // Private destructor, to discourage deletion outside of Release(): ~AsyncScroll() { RemoveObserver(); - Telemetry::SetHistogramRecordingEnabled( - Telemetry::FX_REFRESH_DRIVER_SYNC_SCROLL_FRAME_DELAY_MS, false); } public: diff --git a/layout/generic/nsSelection.cpp b/layout/generic/nsSelection.cpp index 7aca3696b9..3f8d11b486 100644 --- a/layout/generic/nsSelection.cpp +++ b/layout/generic/nsSelection.cpp @@ -78,7 +78,6 @@ static NS_DEFINE_CID(kFrameTraversalCID, NS_FRAMETRAVERSAL_CID); #include "mozilla/ErrorResult.h" #include "mozilla/dom/SelectionBinding.h" #include "mozilla/AsyncEventDispatcher.h" -#include "mozilla/Telemetry.h" #include "mozilla/layers/ScrollInputMethods.h" #include "nsViewManager.h" |