Use IdTargetObserver in SVGFEImageElement
Change SVGFEImageElement to use the observeTarget() helper from SVGURIReference. A slight change in behavior for when a load is initiated for a potential image resource is made. Instead of using a "failed element lookup and a non-existing id" as the condition, use "failed element lookup and non- local resource reference". Also add a new method clearImageResource() and put the tear-down for the image resource, and change a use of ownerDocument() to just document(). BUG=661598 Review-Url: https://codereview.chromium.org/2740003003 Cr-Commit-Position: refs/heads/master@{#455765}
Showing
Please register or sign in to comment