2011-04-05 Sheriff Bot <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r82915.
        http://trac.webkit.org/changeset/82915
        https://bugs.webkit.org/show_bug.cgi?id=57825

        Broke 270 chromium tests on win and linux (Requested by
        podivilov on #webkit).

        * rendering/RenderThemeChromiumSkia.cpp:
        (WebCore::RenderThemeChromiumSkia::defaultGUIFont):

git-svn-id: svn://svn.chromium.org/blink/trunk@82923 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent c9504c35
2011-04-05 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r82915.
http://trac.webkit.org/changeset/82915
https://bugs.webkit.org/show_bug.cgi?id=57825
Broke 270 chromium tests on win and linux (Requested by
podivilov on #webkit).
* rendering/RenderThemeChromiumSkia.cpp:
(WebCore::RenderThemeChromiumSkia::defaultGUIFont):
2011-04-05 James Simonsen <simonjam@chromium.org> 2011-04-05 James Simonsen <simonjam@chromium.org>
Reviewed by Adam Barth. Reviewed by Adam Barth.
...@@ -76,12 +76,10 @@ static const float defaultSearchFieldResultsButtonWidth = 18; ...@@ -76,12 +76,10 @@ static const float defaultSearchFieldResultsButtonWidth = 18;
// //
// FIXME: The only case where we know we don't match IE is for ANSI encodings. // FIXME: The only case where we know we don't match IE is for ANSI encodings.
// IE uses MS Shell Dlg there, which we render incorrectly at certain pixel // IE uses MS Shell Dlg there, which we render incorrectly at certain pixel
// sizes (e.g. 15px). So, for now we just use Arial. For other non-latin // sizes (e.g. 15px). So, for now we just use Arial.
// scripts (e.g. CJK) that Arial does not cover, we specify sans-serif as a
// fallback.
const String& RenderThemeChromiumSkia::defaultGUIFont() const String& RenderThemeChromiumSkia::defaultGUIFont()
{ {
DEFINE_STATIC_LOCAL(String, fontFace, ("Arial, sans-serif")); DEFINE_STATIC_LOCAL(String, fontFace, ("Arial"));
return fontFace; return fontFace;
} }
......
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