Bug 1265591 patch 1 - Remove Internal/External versions of ReconstructStyleData. r=heycam

This Internal/External difference was added in bug 253889 in the year
2004, when we build layout as a library separate from things like
editor.  It is no longer needed now that we have libxul, and should not
be used by any external callers.

MozReview-Commit-ID: 7354lCl3hN8
This commit is contained in:
L. David Baron 2016-04-19 11:38:34 -07:00
Родитель 7ccf656ad3
Коммит 368f3bb46f
2 изменённых файлов: 2 добавлений и 14 удалений

Просмотреть файл

@ -367,13 +367,7 @@ public:
* is calling AddOverrideStyleSheet/RemoveOverrideStyleSheet, and I think
* those should just handle reconstructing style data...
*/
virtual void ReconstructStyleDataExternal();
void ReconstructStyleDataInternal();
#ifdef MOZILLA_INTERNAL_API
void ReconstructStyleData() { ReconstructStyleDataInternal(); }
#else
void ReconstructStyleData() { ReconstructStyleDataExternal(); }
#endif
void ReconstructStyleData();
/**
* Update the style set somehow to take into account changed prefs which

Просмотреть файл

@ -4435,7 +4435,7 @@ PresShell::ReconstructFrames(void)
}
void
nsIPresShell::ReconstructStyleDataInternal()
nsIPresShell::ReconstructStyleData()
{
AutoTArray<RefPtr<mozilla::dom::Element>,1> scopeRoots;
mChangedScopeStyleRoots.SwapElements(scopeRoots);
@ -4485,12 +4485,6 @@ nsIPresShell::ReconstructStyleDataInternal()
}
}
void
nsIPresShell::ReconstructStyleDataExternal()
{
ReconstructStyleDataInternal();
}
void
PresShell::RecordStyleSheetChange(StyleSheetHandle aStyleSheet)
{