summaryrefslogtreecommitdiff
path: root/gfx/thebes
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-10-29 11:02:27 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-02 14:39:54 +0200
commitee86d3eb9c468edbb81550d27114ed66b3d71ee5 (patch)
treea00ffa052ffb8d072203938f595548dcd3b2e0ed /gfx/thebes
parentd0acadd727468ccaa4e3cbe3673e29890c2551ca (diff)
downloaduxp-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 'gfx/thebes')
-rw-r--r--gfx/thebes/gfxEnv.h2
-rw-r--r--gfx/thebes/gfxFontEntry.cpp1
-rw-r--r--gfx/thebes/gfxGDIFontList.cpp1
-rw-r--r--gfx/thebes/gfxPlatform.h4
-rw-r--r--gfx/thebes/gfxUserFontSet.cpp1
5 files changed, 1 insertions, 8 deletions
diff --git a/gfx/thebes/gfxEnv.h b/gfx/thebes/gfxEnv.h
index 18c1091513..ff4a8063ac 100644
--- a/gfx/thebes/gfxEnv.h
+++ b/gfx/thebes/gfxEnv.h
@@ -70,8 +70,6 @@ public:
// Force gfxDevCrash to use MOZ_CRASH in Beta and Release
DECL_GFX_ENV("MOZ_GFX_CRASH_MOZ_CRASH", GfxDevCrashMozCrash);
- // Force gfxDevCrash to use telemetry in Nightly and Aurora
- DECL_GFX_ENV("MOZ_GFX_CRASH_TELEMETRY", GfxDevCrashTelemetry);
DECL_GFX_ENV("MOZ_GFX_VR_NO_DISTORTION", VRNoDistortion);
diff --git a/gfx/thebes/gfxFontEntry.cpp b/gfx/thebes/gfxFontEntry.cpp
index 695e94e9fd..90c0bc8585 100644
--- a/gfx/thebes/gfxFontEntry.cpp
+++ b/gfx/thebes/gfxFontEntry.cpp
@@ -34,7 +34,6 @@
#include "mozilla/MemoryReporting.h"
#include "mozilla/Preferences.h"
#include "mozilla/Services.h"
-#include "mozilla/Telemetry.h"
#include "gfxSVGGlyphs.h"
#include "gfx2DGlue.h"
diff --git a/gfx/thebes/gfxGDIFontList.cpp b/gfx/thebes/gfxGDIFontList.cpp
index f65334fe64..ae2a43368f 100644
--- a/gfx/thebes/gfxGDIFontList.cpp
+++ b/gfx/thebes/gfxGDIFontList.cpp
@@ -28,7 +28,6 @@
#include "GeckoProfiler.h"
#include "mozilla/MemoryReporting.h"
-#include "mozilla/Telemetry.h"
#include "mozilla/WindowsVersion.h"
#include <usp10.h>
diff --git a/gfx/thebes/gfxPlatform.h b/gfx/thebes/gfxPlatform.h
index 642cf909f4..a4d5417a58 100644
--- a/gfx/thebes/gfxPlatform.h
+++ b/gfx/thebes/gfxPlatform.h
@@ -159,9 +159,7 @@ public:
static gfxPlatform *GetPlatform();
/**
- * Returns whether or not graphics has been initialized yet. This is
- * intended for Telemetry where we don't necessarily want to initialize
- * graphics just to observe its state.
+ * Returns whether or not graphics has been initialized yet.
*/
static bool Initialized();
diff --git a/gfx/thebes/gfxUserFontSet.cpp b/gfx/thebes/gfxUserFontSet.cpp
index e1c55c334e..585bd14d02 100644
--- a/gfx/thebes/gfxUserFontSet.cpp
+++ b/gfx/thebes/gfxUserFontSet.cpp
@@ -17,7 +17,6 @@
#include "gfxFontConstants.h"
#include "mozilla/Preferences.h"
#include "mozilla/Services.h"
-#include "mozilla/Telemetry.h"
#include "mozilla/gfx/2D.h"
#include "gfxPlatformFontList.h"