+2009-02-19 Dimitri Glazkov <dglazkov@chromium.org>
+
+ Reviewed by Eric Seidel.
+
+ https://bugs.webkit.org/show_bug.cgi?id=24041
+ Correct Skia type conversion issues, fix Chromium Linux build.
+
+ * platform/graphics/chromium/FontLinux.cpp:
+ (WebCore::Font::drawGlyphs): changed parameters to RGBA32, not WebCore::Color.
+
2009-02-19 Jungshik Shin <jshin@chromium.org>
Reviewed by Eric Seidel.
gc->platformContext()->setupPaintForFilling(&paint);
font->platformData().setupPaint(&paint);
paint.setTextEncoding(SkPaint::kGlyphID_TextEncoding);
- paint.setColor(gc->fillColor());
+ paint.setColor(gc->fillColor().rgb());
canvas->drawPosText(glyphs, numGlyphs << 1, pos, paint);
}
font->platformData().setupPaint(&paint);
paint.setFlags(SkPaint::kAntiAlias_Flag);
paint.setTextEncoding(SkPaint::kGlyphID_TextEncoding);
- paint.setColor(gc->strokeColor());
+ paint.setColor(gc->strokeColor().rgb());
if (textMode & cTextFill) {
// If we also filled, we don't want to draw shadows twice.