Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46e942d5 authored by Zhou Chang's avatar Zhou Chang Committed by Shuo Gao
Browse files

framework: fix bug for uninitialized variable



Some application display error due to uninitialized varibale.
This patch fix the bug

Change-Id: I660169e325ffae60d95c7774aaaeaebf693adf3d
Author: Chang Zhou <chang.zhou@intel.com>
Signed-off-by: default avatarChang Zhou <chang.zhou@intel.com>
Signed-off-by: default avatarChong Xing <chong.xing@intel.com>
Signed-off-by: default avatarHongyu Zhang <hongyu.zhang@intel.com>
Signed-off-by: default avatarShuo Gao <shuo.gao@intel.com>
Signed-off-by: default avatarBruce Beare <bruce.j.beare@intel.com>
Signed-off-by: default avatarJack Ren <jack.ren@intel.com>
Author-tracking-BZ: 45356
parent 0dab1a19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -750,7 +750,7 @@ public:
    static void doTextBounds(JNIEnv* env, const jchar* text, int count,
                             jobject bounds, const SkPaint& paint)
    {
        SkRect  r;
        SkRect  r{0,0,0,0};
        SkIRect ir;

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