Simplified code for styleResolverChanged.

Removed StyleResolverChange class by:

- Marking Document scope for recalc in the stylesheet collection class like
  we do for shadow scopes instead of propagating it up to Document.

- Move the check for doing full repaint after all stylesheets have been
  loaded to Document::styleResolverChanged.

Introduced a shouldUpdateDocumentStyleSheetCollection helper method.

R=esprehn@chromium.org,ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176050 bbb929c8-8fbe-4397-9dbb-9b2b20218538
7 files changed
tree: 06babee3c67817643ee183f7565ce6de03d44a1f
  1. third_party/