Bug 1417393 - Count style contexts properly. r?emilio
MozReview-Commit-ID: FHoc7XOkH4P
--- a/layout/style/StyleSetHandleInlines.h
+++ b/layout/style/StyleSetHandleInlines.h
@@ -313,17 +313,17 @@ StyleSetHandle::Ptr::RootStyleContextAdd
// Not needed.
}
}
void
StyleSetHandle::Ptr::RootStyleContextRemoved()
{
if (IsGecko()) {
- RootStyleContextAdded();
+ AsGecko()->RootStyleContextRemoved();
} else {
// Not needed.
}
}
bool
StyleSetHandle::Ptr::
AppendFontFaceRules(nsTArray<nsFontFaceRuleContainer>& aArray)