mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Issue #2657 - Remove -moz-samplesize resize-decoding for low-vram mobiles
Resolves #2657
This commit is contained in:
parent
75d698133f
commit
ef5f052d97
18 changed files with 13 additions and 193 deletions
|
|
@ -63,10 +63,6 @@ public:
|
|||
// returns the unit used.
|
||||
ClipUnit GetClipUnit() const { return mClipUnit; }
|
||||
|
||||
bool HasSampleSize() const { return mSampleSize.isSome(); }
|
||||
|
||||
int GetSampleSize() const { return *mSampleSize; }
|
||||
|
||||
private:
|
||||
// Parse the URI ref provided, looking for media fragments. This is
|
||||
// the top-level parser the invokes the others below.
|
||||
|
|
@ -88,14 +84,12 @@ private:
|
|||
bool ParseNPTMM(nsDependentSubstring& aString, uint32_t& aMinute);
|
||||
bool ParseNPTSS(nsDependentSubstring& aString, uint32_t& aSecond);
|
||||
bool ParseXYWH(nsDependentSubstring aString);
|
||||
bool ParseMozSampleSize(nsDependentSubstring aString);
|
||||
|
||||
// Media fragment information.
|
||||
Maybe<double> mStart;
|
||||
Maybe<double> mEnd;
|
||||
Maybe<nsIntRect> mClip;
|
||||
ClipUnit mClipUnit;
|
||||
Maybe<int> mSampleSize;
|
||||
};
|
||||
|
||||
} // namespace net
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue