зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1330225. Remove unused function nsViewManager::InsertChild. r=mats
This commit is contained in:
Родитель
f4bc291aed
Коммит
1b21b07765
|
@ -936,15 +936,6 @@ nsViewManager::InsertChild(nsView *aParent, nsView *aChild, nsView *aSibling,
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
nsViewManager::InsertChild(nsView *aParent, nsView *aChild, int32_t aZIndex)
|
||||
{
|
||||
// no-one really calls this with anything other than aZIndex == 0 on a fresh view
|
||||
// XXX this method should simply be eliminated and its callers redirected to the real method
|
||||
SetViewZIndex(aChild, false, aZIndex);
|
||||
InsertChild(aParent, aChild, nullptr, true);
|
||||
}
|
||||
|
||||
void
|
||||
nsViewManager::RemoveChild(nsView *aChild)
|
||||
{
|
||||
|
|
|
@ -148,8 +148,6 @@ public:
|
|||
void InsertChild(nsView *aParent, nsView *aChild, nsView *aSibling,
|
||||
bool aAfter);
|
||||
|
||||
void InsertChild(nsView *aParent, nsView *aChild, int32_t aZIndex);
|
||||
|
||||
/**
|
||||
* Remove a specific child view from its parent. This will NOT remove its placeholder
|
||||
* if there is one.
|
||||
|
|
Загрузка…
Ссылка в новой задаче