diff options
author | Raph Levien <raph@google.com> | 2012-09-14 12:19:03 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-09-14 12:19:03 -0700 |
commit | c1eff0857ebc6abce48ba8c267ab32109dd45ef0 (patch) | |
tree | 54f8cf3ab5de72d3452d879650390240e69096d6 /core/jni | |
parent | e136a72810197029a01b4e30b2063d9993b7a9ad (diff) | |
parent | e590568417aa824e7b0e76ae727556d329cb57cf (diff) | |
download | frameworks_base-c1eff0857ebc6abce48ba8c267ab32109dd45ef0.zip frameworks_base-c1eff0857ebc6abce48ba8c267ab32109dd45ef0.tar.gz frameworks_base-c1eff0857ebc6abce48ba8c267ab32109dd45ef0.tar.bz2 |
am e5905684: am eceb3171: am f4afc401: Merge "framework: fix bug for uninitialized variable"
* commit 'e590568417aa824e7b0e76ae727556d329cb57cf':
framework: fix bug for uninitialized variable
Diffstat (limited to 'core/jni')
-rw-r--r-- | core/jni/android/graphics/Paint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android/graphics/Paint.cpp b/core/jni/android/graphics/Paint.cpp index edc9732..1f70c66 100644 --- a/core/jni/android/graphics/Paint.cpp +++ b/core/jni/android/graphics/Paint.cpp @@ -792,7 +792,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, |