Bug 1396700 - Remove ServoStyleSet::UpdateStyleSheet(). r=xidorn

This is no longer used.

MozReview-Commit-ID: G7cUcz9CKeQ

--HG--
extra : rebase_source : 3f13913863c8d8c4db14d02763781f3037d64d22
This commit is contained in:
Ting-Yu Lin 2017-09-01 17:12:58 +08:00
parent e358e0156e
commit 0facc17a51
2 changed files with 0 additions and 12 deletions

View File

@ -771,13 +771,6 @@ ServoStyleSet::InsertStyleSheetBefore(SheetType aType,
return NS_OK;
}
void
ServoStyleSet::UpdateStyleSheet(ServoStyleSheet* aSheet)
{
MOZ_ASSERT(aSheet);
// TODO(emilio): Get rid of this.
}
int32_t
ServoStyleSet::SheetCount(SheetType aType) const
{

View File

@ -238,11 +238,6 @@ public:
ServoStyleSheet* aNewSheet,
ServoStyleSheet* aReferenceSheet);
// Notify servo that the underlying raw sheet has changed, through cloning.
// This should only be called on a just-cloned sheet, because it does not
// mark the stylesheets as dirty either here or in servo.
void UpdateStyleSheet(ServoStyleSheet* aSheet);
int32_t SheetCount(SheetType aType) const;
ServoStyleSheet* StyleSheetAt(SheetType aType, int32_t aIndex) const;