mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Issue #2112 - Part 9: Remove handling for multiple style backends
This commit is contained in:
parent
28cd0ceb47
commit
b96b733bfa
20 changed files with 20 additions and 125 deletions
|
|
@ -20,11 +20,10 @@ using namespace mozilla::dom;
|
|||
|
||||
namespace mozilla {
|
||||
|
||||
StyleSheet::StyleSheet(StyleBackendType aType, css::SheetParsingMode aParsingMode)
|
||||
StyleSheet::StyleSheet(css::SheetParsingMode aParsingMode)
|
||||
: mDocument(nullptr)
|
||||
, mOwningNode(nullptr)
|
||||
, mParsingMode(aParsingMode)
|
||||
, mType(aType)
|
||||
, mDisabled(false)
|
||||
, mDocumentAssociationMode(NotOwnedByDocument)
|
||||
{
|
||||
|
|
@ -37,7 +36,6 @@ StyleSheet::StyleSheet(const StyleSheet& aCopy,
|
|||
, mDocument(aDocumentToUse)
|
||||
, mOwningNode(aOwningNodeToUse)
|
||||
, mParsingMode(aCopy.mParsingMode)
|
||||
, mType(aCopy.mType)
|
||||
, mDisabled(aCopy.mDisabled)
|
||||
// We only use this constructor during cloning. It's the cloner's
|
||||
// responsibility to notify us if we end up being owned by a document.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue