Ensure style resolver is created to avoid crash.

The style resolver may be cleared by DOM modifications in event handlers
prior to changing the :focus/:active/:hover state. Use ensureStyleResolver()
instead of just styleResolver() to make sure its created to be able to
schedule style invalidations.

R=esprehn@chromium.org
BUG=368017,368026

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172907 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed
tree: b8c8e3a410043bffb4c0c7555d3fd5f61bd5ab78
  1. third_party/