Add is_main_frame to ContentBrowserClient::AllowCertificateError
0d32d6d30fec43e2ad159193c65ace6636537b23 replaced the RenderFrameHost ID
with WebContents, as RenderFrameHost won't be available with some navigations
when browser-side navigation is enabled. As we have an API that exposes whether
certificate errors belong to the main frame, it is necessary to add back a
mechanism to determine this in a way that doesn't depend on RenderFrameHost
Original issue's description:
> Remove clearing of pending invalidation sets.
>
> In preparation for making SubtreeStyleChange not affect the sibling
> forest.
>
> We can skip scheduling descendant invalidation sets for elements whose
> styleChangeType is SubtreeStyleChange. However, with sibling invalidation
> sets, we still need to schedule invalidations for invalidating the
> sibling forest when we change SubtreeStyleChange to be a strict subtree
> recalc.
>
> We may not clear pending invalidations on detach either, unless the node
> was actually removed from the dom tree, since there might be pending
> sibling invalidations.
>
> <email address hidden>,<email address hidden>
> BUG=557440
>
> Committed: https://crrev.com/c0735df3d8f8efa24af168a6e8d5c02a7be0641c
> Cr-Commit-Position: refs/heads/master@{#364064}
Simplify and test SVGInterpolation effect application
This patch is a simple clean up of SVGInterpolation
effect application with an added test to ensure it
continues to work for use elements.
There is no change in behaviour in this patch.