зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1560275 - Flush layout in SVGGeometryElement::IsPointInStroke r=dholbert
SVGGeometryElement::IsPointInStroke calls SVGContentUtils::GetCTM and that can call nsSVGUtils::GetTransformMatrixInUserSpace which needs layout to be up to date Differential Revision: https://phabricator.services.mozilla.com/D79752
This commit is contained in:
Родитель
9e85a224ef
Коммит
33432612ba
|
@ -194,7 +194,7 @@ bool SVGGeometryElement::IsPointInStroke(const DOMPointInit& aPoint) {
|
|||
return false;
|
||||
}
|
||||
if (nsCOMPtr<Document> doc = GetComposedDoc()) {
|
||||
doc->FlushPendingNotifications(FlushType::Style);
|
||||
doc->FlushPendingNotifications(FlushType::Layout);
|
||||
}
|
||||
|
||||
bool res = false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче