зеркало из https://github.com/mozilla/gecko-dev.git
Bug 928798 - Check nsSVGTextFrame2 for dirtiness when gettings it bounding box contribution. r=roc
--HG-- extra : rebase_source : e9173104309e532e9e6773132b9a867e47c3ea11
This commit is contained in:
Родитель
63e8d03dd6
Коммит
b292cb1b00
|
@ -3810,9 +3810,8 @@ nsSVGTextFrame2::GetBBoxContribution(const gfxMatrix &aToBBoxUserspace,
|
|||
NS_ASSERTION(GetFirstPrincipalChild(), "must have a child frame");
|
||||
|
||||
SVGBBox bbox;
|
||||
nsIFrame* kid = GetFirstPrincipalChild();
|
||||
if (kid && NS_SUBTREE_DIRTY(kid)) {
|
||||
// Return an empty bbox if our kid's subtree is dirty. This may be called
|
||||
if (NS_SUBTREE_DIRTY(this)) {
|
||||
// Return an empty bbox if this frame's subtree is dirty. This may be called
|
||||
// in that situation, e.g. when we're building a display list after an
|
||||
// interrupted reflow. This can also be called during reflow before we've
|
||||
// been reflowed, e.g. if an earlier sibling is calling FinishAndStoreOverflow and
|
||||
|
|
Загрузка…
Ссылка в новой задаче