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 /widget | |
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 'widget')
-rw-r--r-- | widget/nsIdleService.cpp | 3 | ||||
-rw-r--r-- | widget/windows/TaskbarPreview.cpp | 2 | ||||
-rw-r--r-- | widget/windows/nsWindow.cpp | 4 |
3 files changed, 0 insertions, 9 deletions
diff --git a/widget/nsIdleService.cpp b/widget/nsIdleService.cpp index 5750a27544..c55fc9ca2c 100644 --- a/widget/nsIdleService.cpp +++ b/widget/nsIdleService.cpp @@ -1,6 +1,4 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* vim:expandtab:shiftwidth=2:tabstop=2: - */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ @@ -18,7 +16,6 @@ #include "mozilla/dom/ContentChild.h" #include "mozilla/Services.h" #include "mozilla/Preferences.h" -#include "mozilla/Telemetry.h" #include <algorithm> using namespace mozilla; diff --git a/widget/windows/TaskbarPreview.cpp b/widget/windows/TaskbarPreview.cpp index b07b8039fa..e7f449caf2 100644 --- a/widget/windows/TaskbarPreview.cpp +++ b/widget/windows/TaskbarPreview.cpp @@ -1,4 +1,3 @@ -/* vim: se cin sw=2 ts=2 et : */ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- * * This Source Code Form is subject to the terms of the Mozilla Public @@ -25,7 +24,6 @@ #include "mozilla/dom/HTMLCanvasElement.h" #include "mozilla/gfx/2D.h" #include "mozilla/gfx/DataSurfaceHelpers.h" -#include "mozilla/Telemetry.h" // Defined in dwmapi in a header that needs a higher numbered _WINNT #define #ifndef DWM_SIT_DISPLAYFRAME diff --git a/widget/windows/nsWindow.cpp b/widget/windows/nsWindow.cpp index 5675d6b8c2..6a00872980 100644 --- a/widget/windows/nsWindow.cpp +++ b/widget/windows/nsWindow.cpp @@ -1,5 +1,4 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* vim:set ts=2 sts=2 sw=2 et cin: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ @@ -209,8 +208,6 @@ #include "ClientLayerManager.h" #include "InputData.h" -#include "mozilla/Telemetry.h" - using namespace mozilla; using namespace mozilla::dom; using namespace mozilla::gfx; @@ -5003,7 +5000,6 @@ nsWindow::ProcessMessage(UINT msg, WPARAM& wParam, LPARAM& lParam, obsServ->NotifyObservers(nullptr, "profile-change-teardown", context.get()); obsServ->NotifyObservers(nullptr, "profile-before-change", context.get()); obsServ->NotifyObservers(nullptr, "profile-before-change-qm", context.get()); - obsServ->NotifyObservers(nullptr, "profile-before-change-telemetry", context.get()); // Then a controlled but very quick exit. _exit(0); } |