aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports
diff options
context:
space:
mode:
authorGravatar agl@chromium.org <agl@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-05-07 00:48:12 +0000
committerGravatar agl@chromium.org <agl@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-05-07 00:48:12 +0000
commitb9890c133f4baa75b8dfeabdc3c888b21af3df8e (patch)
tree1ad196021a51a48bf54e2ac812bac8e1c34c67a7 /src/ports
parentfbaa88d9695347299321cbce2bf803726999fb58 (diff)
Typo fix for VDMX parsing in Chromium.
TBR=reed git-svn-id: http://skia.googlecode.com/svn/trunk@170 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/ports')
-rw-r--r--src/ports/SkFontHost_tables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ports/SkFontHost_tables.cpp b/src/ports/SkFontHost_tables.cpp
index 22f4e66296..5c6b1fca48 100644
--- a/src/ports/SkFontHost_tables.cpp
+++ b/src/ports/SkFontHost_tables.cpp
@@ -64,7 +64,7 @@ static int count_tables(SkStream* stream, size_t* offsetToDir = NULL) {
if (offsetToDir) {
// add the size of the header, so we will point to the DirEntries
- *offsetToDir = offset + sizeof(SkSFNTDirEntry);
+ *offsetToDir = offset + sizeof(SkSFNTHeader);
}
return SkEndian_SwapBE16(shared.fSingle.fNumTables);
}