diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-12 20:08:50 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-12 20:08:50 +0000 |
commit | 2786f3db2489aa1fd2453fa85745e5c5658b1cd1 (patch) | |
tree | 905f82e544746d33d6cc4a3f760a345f648a4fd1 /skia/ports | |
parent | b734450b86e9d6bd7a07b381c119ca91803ae46b (diff) | |
download | chromium_src-2786f3db2489aa1fd2453fa85745e5c5658b1cd1.zip chromium_src-2786f3db2489aa1fd2453fa85745e5c5658b1cd1.tar.gz chromium_src-2786f3db2489aa1fd2453fa85745e5c5658b1cd1.tar.bz2 |
Hook up skia's assertions to our logging system.
Review URL: http://codereview.chromium.org/17285
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7889 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ports')
-rw-r--r-- | skia/ports/SkFontHost_fontconfig.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/skia/ports/SkFontHost_fontconfig.cpp b/skia/ports/SkFontHost_fontconfig.cpp index d060198..ddc025b 100644 --- a/skia/ports/SkFontHost_fontconfig.cpp +++ b/skia/ports/SkFontHost_fontconfig.cpp @@ -73,7 +73,9 @@ static SkTypeface::Style UniqueIdToStyle(unsigned uniqueid) static unsigned FileIdAndStyleToUniqueId(unsigned fileid, SkTypeface::Style style) { - SkASSERT(style & 0xff == style); + // TODO(agl/brettw) bug 6291: This assertion fails for unknown reasons + // on ChromeFontTest.LoadArial. This should be fixed. + //SkASSERT(style & 0xff == style); return (fileid << 8) | static_cast<int>(style); } |