angler-fishThe Vulnerability History Project

Removed add/removeScopedStyleResolver from StyleEngine

      Since ScopedStyleResolvers are owned by TreeScopes (i.e. replacing ScopedStyleTree with TreeScope tree), StyleEngine should know only about TreeScopes which have stylesheets.

BUG=427249
TEST=fast/dom/StyleSheet/stylesheet-move-between-documents-crash.html,fast/dom/shadow/make-marquee-bold-by-exec-command-crash.html

Review URL: https://codereview.chromium.org/751593002

git-svn-id: svn://svn.chromium.org/blink/trunk@186026 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    
commit 2e5f9bb3de559fa7ace48d3202ce24651d4a3e73
-1
-6
-1
-53
-6
-9
+2 -5
+20 -18
+6 -4
+14 -24
+5 -1
expand_less