Have ProcessingInstruction's XSLT event listener keep a weak backreference
To avoid an unnecessary strong-reference cycle between
ProcessingInstruction and its owned "XSLT event listener", have the
latter keep an effectively-weak reference. ProcessingInstruction is
responsible to detach itself and clear that weak reference when it
is finalized.
R=haraken
BUG=367689
Review URL: https://codereview.chromium.org/738443003
git-svn-id: svn://svn.chromium.org/blink/trunk@185858 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed