* commit 'e590568417aa824e7b0e76ae727556d329cb57cf': framework: fix bug for uninitialized variable
This commit is contained in:
@@ -792,7 +792,7 @@ public:
|
|||||||
static void doTextBounds(JNIEnv* env, const jchar* text, int count,
|
static void doTextBounds(JNIEnv* env, const jchar* text, int count,
|
||||||
jobject bounds, const SkPaint& paint)
|
jobject bounds, const SkPaint& paint)
|
||||||
{
|
{
|
||||||
SkRect r;
|
SkRect r{0,0,0,0};
|
||||||
SkIRect ir;
|
SkIRect ir;
|
||||||
|
|
||||||
sp<TextLayoutValue> value = TextLayoutEngine::getInstance().getValue(&paint,
|
sp<TextLayoutValue> value = TextLayoutEngine::getInstance().getValue(&paint,
|
||||||
|
|||||||
Reference in New Issue
Block a user