Commit 89347a06 authored by keishi@chromium.org's avatar keishi@chromium.org

Revert 181532 "Gardening: Fix tests failing on Win7(dbg) caused ..."

> Gardening: Fix tests failing on Win7(dbg) caused by hitting an assert in FontCache::addSideloadedFontForTesting
> 
> NOTRY=true
> TBR=arv@chromium.org,tkent@chromium.org
> BUG=None
> 
> Review URL: https://codereview.chromium.org/549013002

TBR=keishi@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181533 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 1bf089b6
......@@ -48,8 +48,6 @@ HashMap<String, RefPtr<SkTypeface> >* FontCache::s_sideloadedFonts = 0;
// static
void FontCache::addSideloadedFontForTesting(SkTypeface* typeface)
{
if (!typeface)
return;
if (!s_sideloadedFonts)
s_sideloadedFonts = new HashMap<String, RefPtr<SkTypeface> >;
SkString name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment