summaryrefslogtreecommitdiffstats
path: root/webkit/port/platform/graphics/SkGraphicsContext.cpp
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-10 17:47:16 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-10 17:47:16 +0000
commit48ff9f9e3567568e953f56c8156fd376361c3edd (patch)
treef1e81ff357409f90537039d5ce64c4226c71da94 /webkit/port/platform/graphics/SkGraphicsContext.cpp
parent71f97014a63166729984c801564822b1701a6950 (diff)
downloadchromium_src-48ff9f9e3567568e953f56c8156fd376361c3edd.zip
chromium_src-48ff9f9e3567568e953f56c8156fd376361c3edd.tar.gz
chromium_src-48ff9f9e3567568e953f56c8156fd376361c3edd.tar.bz2
more cross-platform graphics changes
Review URL: http://codereview.chromium.org/1704 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1993 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/platform/graphics/SkGraphicsContext.cpp')
-rw-r--r--webkit/port/platform/graphics/SkGraphicsContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/port/platform/graphics/SkGraphicsContext.cpp b/webkit/port/platform/graphics/SkGraphicsContext.cpp
index 51d7e51..3a1b3c7 100644
--- a/webkit/port/platform/graphics/SkGraphicsContext.cpp
+++ b/webkit/port/platform/graphics/SkGraphicsContext.cpp
@@ -243,9 +243,9 @@ void SkGraphicsContext::paintComplexText(UniscribeStateTextRun& state,
canvas_->endPlatformPaint();
}
-bool SkGraphicsContext::paintText(HFONT hfont,
+bool SkGraphicsContext::paintText(FontHandle hfont,
int number_glyph,
- const WORD* glyphs,
+ const uint16* glyphs,
const int* advances,
const SkPoint& origin) {
SkColor color(paint_context_->fillColor());