SVG images have scripting disabled but we still try to dispatch resize events.
Created attachment 213509 [details]
Comment on attachment 213509 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=213509&action=review
r=me if you add a null check for page or explain why it's not needed
> + if (frame().page()->chrome().client().isSVGImageChromeClient())
> + return;
What guarantees that page is non-null?
(In reply to comment #2)
> What guarantees that page is non-null?
Uh, some similar looking functions don't check it either... Added the check.