mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
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).
This commit is contained in:
parent
92a1cc3139
commit
8d800b1cb0
205 changed files with 45 additions and 40519 deletions
|
|
@ -52,7 +52,6 @@ mailing address.
|
|||
#include "gfxPlatform.h"
|
||||
#include "qcms.h"
|
||||
#include <algorithm>
|
||||
#include "mozilla/Telemetry.h"
|
||||
|
||||
using namespace mozilla::gfx;
|
||||
|
||||
|
|
@ -1088,11 +1087,5 @@ nsGIFDecoder2::SkipSubBlocks(const char* aData)
|
|||
nextSubBlockLength);
|
||||
}
|
||||
|
||||
Maybe<Telemetry::ID>
|
||||
nsGIFDecoder2::SpeedHistogram() const
|
||||
{
|
||||
return Some(Telemetry::IMAGE_DECODE_SPEED_GIF);
|
||||
}
|
||||
|
||||
} // namespace image
|
||||
} // namespace mozilla
|
||||
|
|
|
|||
|
|
@ -29,8 +29,6 @@ protected:
|
|||
IResumable* aOnResume) override;
|
||||
nsresult FinishInternal() override;
|
||||
|
||||
Maybe<Telemetry::ID> SpeedHistogram() const override;
|
||||
|
||||
private:
|
||||
friend class DecoderFactory;
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
#include "gfxPlatform.h"
|
||||
#include "mozilla/EndianUtils.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
|
||||
extern "C" {
|
||||
#include "iccjpeg.h"
|
||||
|
|
@ -123,12 +122,6 @@ nsJPEGDecoder::~nsJPEGDecoder()
|
|||
this));
|
||||
}
|
||||
|
||||
Maybe<Telemetry::ID>
|
||||
nsJPEGDecoder::SpeedHistogram() const
|
||||
{
|
||||
return Some(Telemetry::IMAGE_DECODE_SPEED_JPEG);
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsJPEGDecoder::InitInternal()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -65,8 +65,6 @@ protected:
|
|||
IResumable* aOnResume) override;
|
||||
nsresult FinishInternal() override;
|
||||
|
||||
Maybe<Telemetry::ID> SpeedHistogram() const override;
|
||||
|
||||
protected:
|
||||
Orientation ReadOrientationFromEXIF();
|
||||
void OutputScanlines(bool* suspend);
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@
|
|||
#include "RasterImage.h"
|
||||
#include "SurfacePipeFactory.h"
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
|
||||
using namespace mozilla::gfx;
|
||||
|
||||
|
|
@ -1087,12 +1086,6 @@ nsPNGDecoder::warning_callback(png_structp png_ptr, png_const_charp warning_msg)
|
|||
MOZ_LOG(sPNGLog, LogLevel::Warning, ("libpng warning: %s\n", warning_msg));
|
||||
}
|
||||
|
||||
Maybe<Telemetry::ID>
|
||||
nsPNGDecoder::SpeedHistogram() const
|
||||
{
|
||||
return Some(Telemetry::IMAGE_DECODE_SPEED_PNG);
|
||||
}
|
||||
|
||||
bool
|
||||
nsPNGDecoder::IsValidICO() const
|
||||
{
|
||||
|
|
|
|||
|
|
@ -30,8 +30,6 @@ protected:
|
|||
LexerResult DoDecode(SourceBufferIterator& aIterator,
|
||||
IResumable* aOnResume) override;
|
||||
|
||||
Maybe<Telemetry::ID> SpeedHistogram() const override;
|
||||
|
||||
private:
|
||||
friend class DecoderFactory;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue