提交 1c67e52e 编写于 作者: P prr

6951086: Excessive Local References in sun.font.SunLayoutEngine.nativeLayout

Reviewed-by: igor, jgodinez
上级 b4abbf2f
......@@ -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);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册