mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Issue #21 - Remove use counters telemetry
This reverts Bug 968923 - Implement some equivalent of Chrome's use counters (on top of telemetry?) For reference: https://bugzilla.mozilla.org/show_bug.cgi?id=968923
This commit is contained in:
parent
b6e147a194
commit
8a7587b401
45 changed files with 25 additions and 1050 deletions
|
|
@ -143,8 +143,6 @@ public:
|
|||
|
||||
nsresult SetStyleSheet(CSSStyleSheet* aSheet);
|
||||
|
||||
nsIDocument* GetDocument();
|
||||
|
||||
nsresult SetQuirkMode(bool aQuirkMode);
|
||||
|
||||
nsresult SetChildLoader(mozilla::css::Loader* aChildLoader);
|
||||
|
|
@ -1651,15 +1649,6 @@ CSSParserImpl::SetStyleSheet(CSSStyleSheet* aSheet)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
nsIDocument*
|
||||
CSSParserImpl::GetDocument()
|
||||
{
|
||||
if (!mSheet) {
|
||||
return nullptr;
|
||||
}
|
||||
return mSheet->GetDocument();
|
||||
}
|
||||
|
||||
nsresult
|
||||
CSSParserImpl::SetQuirkMode(bool aQuirkMode)
|
||||
{
|
||||
|
|
@ -1981,8 +1970,7 @@ CSSParserImpl::ParseTransformProperty(const nsAString& aPropValue,
|
|||
declaration->ExpandTo(&mData);
|
||||
changed = mData.TransferFromBlock(mTempData, eCSSProperty_transform,
|
||||
EnabledState(), false,
|
||||
true, false, declaration,
|
||||
GetDocument());
|
||||
true, false, declaration);
|
||||
declaration->CompressFrom(&mData);
|
||||
}
|
||||
|
||||
|
|
@ -2063,8 +2051,7 @@ CSSParserImpl::ParseProperty(const nsCSSPropertyID aPropID,
|
|||
aDeclaration->ExpandTo(&mData);
|
||||
*aChanged = mData.TransferFromBlock(mTempData, aPropID,
|
||||
EnabledState(), aIsImportant,
|
||||
true, false, aDeclaration,
|
||||
GetDocument());
|
||||
true, false, aDeclaration);
|
||||
aDeclaration->CompressFrom(&mData);
|
||||
}
|
||||
CLEAR_ERROR();
|
||||
|
|
@ -7532,7 +7519,7 @@ CSSParserImpl::ParseDeclaration(css::Declaration* aDeclaration,
|
|||
*aChanged |= mData.TransferFromBlock(mTempData, propID, EnabledState(),
|
||||
status == ePriority_Important,
|
||||
false, aMustCallValueAppended,
|
||||
aDeclaration, GetDocument());
|
||||
aDeclaration);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue