Bug 1447476: Inline ResolveServoStyle. r=xidorn
We already pay a function call for it, no point in paying two. MozReview-Commit-ID: 4odPqnPfrNF
This commit is contained in:
@@ -1391,14 +1391,6 @@ ServoStyleSet::CompatibilityModeChanged()
|
||||
SetStylistStyleSheetsDirty();
|
||||
}
|
||||
|
||||
already_AddRefed<ServoStyleContext>
|
||||
ServoStyleSet::ResolveServoStyle(Element* aElement)
|
||||
{
|
||||
RefPtr<ServoStyleContext> result =
|
||||
Servo_ResolveStyle(aElement, mRawSet.get()).Consume();
|
||||
return result.forget();
|
||||
}
|
||||
|
||||
void
|
||||
ServoStyleSet::ClearNonInheritingStyleContexts()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user