mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
Issue #2112 - Part 3: Remove --enable-stylo config and conditionals
This commit is contained in:
parent
88ac168f96
commit
e777ae5a3c
21 changed files with 0 additions and 254 deletions
|
|
@ -1022,11 +1022,7 @@ public:
|
|||
* Returns true if this is a node belonging to a document that uses the Servo
|
||||
* style system.
|
||||
*/
|
||||
#ifdef MOZ_STYLO
|
||||
bool IsStyledByServo() const;
|
||||
#else
|
||||
bool IsStyledByServo() const { return false; }
|
||||
#endif
|
||||
|
||||
bool IsDirtyForServo() const
|
||||
{
|
||||
|
|
@ -2139,11 +2135,7 @@ public:
|
|||
#undef EVENT
|
||||
|
||||
bool HasServoData() {
|
||||
#ifdef MOZ_STYLO
|
||||
return !!mServoData.Get();
|
||||
#else
|
||||
MOZ_CRASH("Accessing servo node data in non-stylo build");
|
||||
#endif
|
||||
}
|
||||
|
||||
void ClearServoData();
|
||||
|
|
@ -2185,11 +2177,6 @@ protected:
|
|||
|
||||
// Storage for more members that are usually not needed; allocated lazily.
|
||||
nsSlots* mSlots;
|
||||
|
||||
#ifdef MOZ_STYLO
|
||||
// Per-node data managed by Servo.
|
||||
mozilla::ServoCell<ServoNodeData*> mServoData;
|
||||
#endif
|
||||
};
|
||||
|
||||
inline nsIDOMNode* GetAsDOMNode(nsINode* aNode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue