Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1868)

Unified Diff: app/gfx/font_skia.cc

Issue 115877: linux: simplify gfx::Font constructor logic and add CHECK()s. (Closed)
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/gfx/font_gtk.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/gfx/font_skia.cc
diff --git a/app/gfx/font_skia.cc b/app/gfx/font_skia.cc
index 0443acecafa2e361157aca3850f7370e3f75c464..4308bf6bfb83b5de071e76af0165ac8fc0713ed1 100644
--- a/app/gfx/font_skia.cc
+++ b/app/gfx/font_skia.cc
@@ -85,7 +85,9 @@ Font Font::CreateFont(const std::wstring& font_family, int font_size) {
SkTypeface* tf = SkTypeface::CreateFromName(
base::SysWideToUTF8(font_family).c_str(), SkTypeface::kNormal);
- DCHECK(tf) << "Could not find font: " << base::SysWideToUTF8(font_family);
+ // Temporary CHECK for tracking down
+ // http://code.google.com/p/chromium/issues/detail?id=12530
+ CHECK(tf) << "Could not find font: " << base::SysWideToUTF8(font_family);
SkAutoUnref tf_helper(tf);
return Font(tf, font_family, font_size, NORMAL);
« no previous file with comments | « app/gfx/font_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698