Revert of Allow CC HUD font to be created before sandbox on Windows (patchset #4...
commitd1f5eb0865c89d9413fa6982fa49a1853325556e
authoreroman <eroman@chromium.org>
Thu, 26 Feb 2015 23:20:37 +0000 (26 15:20 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Feb 2015 23:21:11 +0000 (26 23:21 +0000)
tree4bddc09847434202f2e83ca49e1aa75dbcb98ce4
parentb7a329259e94027e5970211beafc5da4a4c3db0e
Revert of Allow CC HUD font to be created before sandbox on Windows (patchset #4 id:100001 of https://codereview.chromium.org/932243004/)

Reason for revert:
Possibly related to ChromeOS failure:

http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29/builds/56991

Blame suggests this or the following change by estade

Original issue's description:
> Allow CC HUD font to be created before sandbox on Windows
>
> Similar to https://codereview.chromium.org/900063002, but instead of
> having the SkTypeface* directly in LayerTreeSettings, defer to a
> function. This avoids creating the font until it used on platforms
> other than Windows so that we don't incur a startup penalty when the
> hud isn't being used.
>
> On Windows, we replace a previous arbitrary font that was getting
> warmed up with the monospace one we want here to hopefully avoid
> perf regression there.
>
> R=danakj@chromium.org
> BUG=453731, 455104, 457248
> TEST=run chrome with --enable-win32k-renderer-lockdown --show-fps-counter --ui-show-fps-counter on Win8
>
> Committed: https://crrev.com/04015b275eb5c775a5740722fd0805994dde8d2c
> Cr-Commit-Position: refs/heads/master@{#318297}

TBR=enne@chromium.org,danakj@chromium.org,piman@chromium.org,scottmg@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=453731, 455104, 457248

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

Cr-Commit-Position: refs/heads/master@{#318344}
cc/layers/heads_up_display_layer_impl.cc
content/renderer/renderer_main_platform_delegate_win.cc
ui/gfx/BUILD.gn
ui/gfx/gfx.gyp
ui/gfx/hud_font.cc [deleted file]
ui/gfx/hud_font.h [deleted file]