Bug 830299: Check for scrollcorner in nsGfxScrollFrameInner::ReloadChildFrames(). r=roc

This commit is contained in:
Cervantes Yu 2013-01-21 10:31:40 +00:00
parent 6e4845508d
commit 405fea355b

View File

@ -2549,7 +2549,7 @@ nsGfxScrollFrameInner::ReloadChildFrames()
} else if (content->Tag() == nsGkAtoms::resizer) {
NS_ASSERTION(!mResizerBox, "Found multiple resizers");
mResizerBox = frame;
} else {
} else if (content->Tag() == nsGkAtoms::scrollcorner) {
// probably a scrollcorner
NS_ASSERTION(!mScrollCornerBox, "Found multiple scrollcorners");
mScrollCornerBox = frame;