--- a/jdk/src/share/native/sun/font/layout/ContextualGlyphSubstProc2.h Tue Feb 26 10:07:26 2013 -0800
+++ b/jdk/src/share/native/sun/font/layout/ContextualGlyphSubstProc2.h Thu Mar 07 10:02:20 2013 -0800
@@ -52,11 +52,11 @@
public:
virtual void beginStateTable();
- virtual le_uint16 processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex2 index);
+ virtual le_uint16 processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex2 index, LEErrorCode &success);
virtual void endStateTable();
- ContextualGlyphSubstitutionProcessor2(const MorphSubtableHeader2 *morphSubtableHeader);
+ ContextualGlyphSubstitutionProcessor2(const LEReferenceTo<MorphSubtableHeader2> &morphSubtableHeader, LEErrorCode &success);
virtual ~ContextualGlyphSubstitutionProcessor2();
/**
@@ -75,16 +75,16 @@
private:
ContextualGlyphSubstitutionProcessor2();
- TTGlyphID lookup(le_uint32 offset, LEGlyphID gid);
+ TTGlyphID lookup(le_uint32 offset, LEGlyphID gid, LEErrorCode &success);
protected:
- const le_uint32* perGlyphTable;
- const ContextualGlyphStateEntry2 *entryTable;
+ LEReferenceToArrayOf<le_uint32> perGlyphTable;
+ LEReferenceToArrayOf<ContextualGlyphStateEntry2> entryTable;
le_int16 perGlyphTableFormat;
le_int32 markGlyph;
- const ContextualGlyphHeader2 *contextualGlyphHeader;
+ LEReferenceTo<ContextualGlyphHeader2> contextualGlyphHeader;
};