Add parent RenderStyle as argument to StyleResolver::styleForKeyframe()

When applying animation properties on an element during style resolve
the case where a default parent RenderStyle is provided was not handled
when building keyframe animations. This results in a crash when
attempting to resolve the use of inherit in a keyframe animation on the
body element during Document::inheritHtmlAndBodyElementStyles().

This patch ensures the correct parent RenderStyle is used in
StyleResolver::styleForKeyframe().

BUG=328997

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164037 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Followup to r164021 so that SharedWorkerRepositoryClient isn't cached on Document. Instead the webcore layer gets it through FrameLoaderClient. The chrome-side change's trybots exposed problems because SharedWorkerRepositoryClient could be set on a WebFrame before the Document is created.

BUG=304341

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164038 bbb929c8-8fbe-4397-9dbb-9b2b20218538