Description[FastTextAutosizer] Fix incorrect override for RenderSVGShape::isEmpty
This patch fixes a crash on xe.com where the text autosizer would call
isEmpty() on a RenderObject and crash. The issue is that RenderSVGShape
overrides RenderObject::isEmpty and implements it differently:
RenderObject::isEmpty() - true if the RenderObject has children
RenderSVGShape::isEmpty() - true if the bounding box is empty
I've refactored RenderSVGShape::isEmpty() as isShapeEmpty() to both
clarify the override and fix a crash.
BUG=302005
NOTRY=true
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168252
Patch Set 1 #
Total comments: 4
Patch Set 2 : Update per reviewer comments #
Messages
Total messages: 18 (0 generated)
|