Skip to content

Commit e590568

Browse files
raphlinusAndroid Git Automerger
authored andcommitted
am eceb317: am f4afc40: Merge "framework: fix bug for uninitialized variable"
* commit 'eceb317116d87dada85d06df8fe0e07dd4aec49d': framework: fix bug for uninitialized variable
2 parents d21b9a9 + eceb317 commit e590568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/jni/android/graphics/Paint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ class SkPaintGlue {
750750
static void doTextBounds(JNIEnv* env, const jchar* text, int count,
751751
jobject bounds, const SkPaint& paint)
752752
{
753-
SkRect r;
753+
SkRect r{0,0,0,0};
754754
SkIRect ir;
755755

756756
sp<TextLayoutValue> value = TextLayoutEngine::getInstance().getValue(&paint,

0 commit comments

Comments
 (0)