Revert PR that adds applied styles

It is causing performance problems that causes some Google tests to fail. I want to update our snapshot to latest and will reapply this PR once I figure out the performance issue.

Revert "Merge pull request #1277 from jongerrish/fix_theme_apply_style"

This reverts commit 2238c8e088e3a5ce45ed44a084c452f65858ff46, reversing
changes made to 7b05d0aa78fa8fc6684fbe76e0ae4b7a08292c75.