Use correct color accessors when resolving styles.

The visitedDependentColor function probably shouldn't be used during
style recalc. Note this change is probably not testable at the moment
since testRunner.keepWebHistory is not implemented.

BUG=284357

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

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