[Webkit-unassigned] [Bug 36564] Performance regression for setting content of <text> in SVG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 26 14:47:14 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=36564





--- Comment #6 from Darin Adler <darin at apple.com>  2010-03-26 14:47:14 PST ---
(From update of attachment 51779)
> -        clipRect.unite(styled->renderer()->objectBoundingBox());
> +        FloatRect styledBoundingBox = styled->renderer()->objectBoundingBox();
> +        if (styledBoundingBox.isEmpty())
> +            continue;
> +        clipRect.unite(styledBoundingBox);

Why is this change needed? The unite function already checks for an empty
rectangle and does nothing in that case.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list