Fix template bugs that prevent rolling gtest DEPS in Chrome.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179278 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unneeded updateFont call in styleForKeyframe

We only need to call updateFont after applying properties that use the
FontBuilder, but these are currently all in the high priority pass.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179280 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Have Node::enclosingLinkEventParentOrSelf() return an Element

Have Node::enclosingLinkEventParentOrSelf() return an Element so that the
caller does not have to do an unsafe-looking toElement() cast.

R=adamk@chromium.org

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

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