Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1035)

Unified Diff: third_party/harfbuzz-ng/src/hb-open-file-private.hh

Issue 10915172: harfbuzz-ng roll (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-old.cc ('k') | third_party/harfbuzz-ng/src/hb-open-type-private.hh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/harfbuzz-ng/src/hb-open-file-private.hh
diff --git a/third_party/harfbuzz-ng/src/hb-open-file-private.hh b/third_party/harfbuzz-ng/src/hb-open-file-private.hh
index ce18580f0ec4366b5987a440f1eaf5396d2ec798..31fedfbbceab598b25892315ebf2b5110935b4fe 100644
--- a/third_party/harfbuzz-ng/src/hb-open-file-private.hh
+++ b/third_party/harfbuzz-ng/src/hb-open-file-private.hh
@@ -32,6 +32,8 @@
#include "hb-open-type-private.hh"
+namespace OT {
+
/*
*
@@ -105,7 +107,7 @@ typedef struct OffsetTable
return TRACE_RETURN (c->check_struct (this) && c->check_array (tables, TableRecord::static_size, numTables));
}
- private:
+ protected:
Tag sfnt_version; /* '\0\001\0\00' if TrueType / 'OTTO' if CFF */
USHORT numTables; /* Number of tables. */
USHORT searchRange; /* (Maximum power of 2 <= numTables) x 16 */
@@ -133,7 +135,7 @@ struct TTCHeaderVersion1
return TRACE_RETURN (table.sanitize (c, this));
}
- private:
+ protected:
Tag ttcTag; /* TrueType Collection ID string: 'ttcf' */
FixedVersion version; /* Version of the TTC Header (1.0),
* 0x00010000 */
@@ -177,7 +179,7 @@ struct TTCHeader
}
}
- private:
+ protected:
union {
struct {
Tag ttcTag; /* TrueType Collection ID string: 'ttcf' */
@@ -242,7 +244,7 @@ struct OpenTypeFontFile
}
}
- private:
+ protected:
union {
Tag tag; /* 4-byte identifier. */
OpenTypeFontFace fontFace;
@@ -253,5 +255,7 @@ struct OpenTypeFontFile
};
+} // namespace OT
+
#endif /* HB_OPEN_FILE_PRIVATE_HH */
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-old.cc ('k') | third_party/harfbuzz-ng/src/hb-open-type-private.hh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698