зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
7ccf656ad3
Коммит
368f3bb46f
|
@ -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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче