--- a/jdk/src/share/native/sun/font/layout/GXLayoutEngine2.cpp Tue Feb 26 10:07:26 2013 -0800
+++ b/jdk/src/share/native/sun/font/layout/GXLayoutEngine2.cpp Thu Mar 07 10:02:20 2013 -0800
@@ -39,10 +39,10 @@
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(GXLayoutEngine2)
-GXLayoutEngine2::GXLayoutEngine2(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, const MorphTableHeader2 *morphTable, le_int32 typoFlags, LEErrorCode &success)
- : LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success), fMorphTable(morphTable)
+GXLayoutEngine2::GXLayoutEngine2(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, const LEReferenceTo<MorphTableHeader2> &morphTable, le_int32 typoFlags, LEErrorCode &success)
+ : LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags, success), fMorphTable(morphTable)
{
- // nothing else to do?
+ // nothing else to do?
}
GXLayoutEngine2::~GXLayoutEngine2()
@@ -68,7 +68,7 @@
return 0;
}
- fMorphTable->process(glyphStorage, fTypoFlags);
+ fMorphTable->process(fMorphTable, glyphStorage, fTypoFlags, success);
return count;
}