зеркало из https://github.com/mozilla/gecko-dev.git
Bug 500882 another followup. This assertion is currently false for comboboxes; we need to fix them first. Needed to fix orange.
This commit is contained in:
Родитель
c9cd646ff5
Коммит
bcbacfe511
|
@ -865,8 +865,8 @@ public:
|
|||
*/
|
||||
nsIFrame* GetPrimaryFrame() const { return mPrimaryFrame; }
|
||||
void SetPrimaryFrame(nsIFrame* aFrame) {
|
||||
NS_PRECONDITION(!aFrame || !mPrimaryFrame || aFrame == mPrimaryFrame,
|
||||
"Losing track of existing primary frame");
|
||||
NS_WARN_IF_FALSE(!aFrame || !mPrimaryFrame || aFrame == mPrimaryFrame,
|
||||
"Losing track of existing primary frame");
|
||||
mPrimaryFrame = aFrame;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче