Commit 440d05af authored by avi@chromium.org's avatar avi@chromium.org

Use Helvetica rather than Arial for badging on the Mac.

BUG=http://crbug.com/21458
TEST=when badging comes to the Mac, make sure it uses Helvetica.

Review URL: http://codereview.chromium.org/328033

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30189 0039d316-1c4b-4281-b951-d872f2087c98
parent 104dcef7
......@@ -62,7 +62,12 @@ void ExtensionAction::PaintBadge(gfx::Canvas* canvas,
canvas->save();
#if defined(OS_MACOSX)
SkTypeface* typeface =
SkTypeface::CreateFromName("Helvetica", SkTypeface::kBold);
#else
SkTypeface* typeface = SkTypeface::CreateFromName("Arial", SkTypeface::kBold);
#endif
SkPaint text_paint;
text_paint.setAntiAlias(true);
text_paint.setColor(text_color);
......
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