6951086: Excessive Local References in sun.font.SunLayoutEngine.nativeLayout
Reviewed-by: igor, jgodinez
This commit is contained in:
parent
c1bf12c7a1
commit
06c1663385
@ -224,6 +224,7 @@ void FontInstanceAdapter::getWideGlyphAdvance(le_uint32 glyph, LEPoint &advance)
|
||||
if (pt != NULL) {
|
||||
advance.fX = env->GetFloatField(pt, sunFontIDs.xFID);
|
||||
advance.fY = env->GetFloatField(pt, sunFontIDs.yFID);
|
||||
env->DeleteLocalRef(pt);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user