[ElementTiming] Pass the paint container in SVGObjectPainter

This CL adds additional information in the PaintInfo object in
SVGObjectPainter::PaintResourceSubtree. In the testcase of the bug, we
have svg->mask->foreignObject->image which causes the ImagePainter
method to be called without a paint container.

Bug: 905850
Change-Id: Id6acad9ea24c4af2f9baf78b3591a878e523035f
Reviewed-on: https://chromium-review.googlesource.com/c/1410176
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#623066}
4 files changed