diff options
Diffstat (limited to 'webkit/port/platform/graphics/FontWin.cpp')
-rw-r--r-- | webkit/port/platform/graphics/FontWin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/port/platform/graphics/FontWin.cpp b/webkit/port/platform/graphics/FontWin.cpp index 0fa5a26..ac28623 100644 --- a/webkit/port/platform/graphics/FontWin.cpp +++ b/webkit/port/platform/graphics/FontWin.cpp @@ -35,8 +35,8 @@ #include "SkiaUtils.h" #include "UniscribeHelperTextRun.h" +#include "base/gfx/skia_utils.h" // TODO(brettw) remove this dependency. #include "skia/ext/platform_canvas_win.h" -#include "skia/ext/skia_utils_win.h" namespace WebCore { @@ -69,7 +69,7 @@ void Font::drawGlyphs(GraphicsContext* graphicsContext, color = SkColorSetRGB(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color)); - SetTextColor(hdc, skia::SkColorToCOLORREF(color)); + SetTextColor(hdc, gfx::SkColorToCOLORREF(color)); SetBkMode(hdc, TRANSPARENT); // Windows needs the characters and the advances in nice contiguous @@ -168,7 +168,7 @@ void Font::drawComplexText(GraphicsContext* graphicsContext, color = SkColorSetRGB(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color)); - SetTextColor(hdc, skia::SkColorToCOLORREF(color)); + SetTextColor(hdc, gfx::SkColorToCOLORREF(color)); SetBkMode(hdc, TRANSPARENT); // Uniscribe counts the coordinates from the upper left, while WebKit uses |