Oilpan: switch ImageLoader to be prefinalized.
If an ImageLoader for an SVGImage ends up being swept out along with a
FrameView (a ScrollableArea), the former may circuitously end up accessing
the latter via its destructor. Having both be eagerly finalized, or
prefinalized, doesn't guarantee a correct destruction order.
Hence, to address, arrange for the ImageLoader to be finalized/disposed of
first by way of a prefinalizing action.
R=haraken
BUG=491488
Review URL: https://codereview.chromium.org/1226373008
git-svn-id: svn://svn.chromium.org/blink/trunk@198753 bbb929c8-8fbe-4397-9dbb-9b2b20218538
2 files changed