summaryrefslogtreecommitdiffstats
path: root/core/jni
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2012-09-14 12:19:03 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-09-14 12:19:03 -0700
commitc1eff0857ebc6abce48ba8c267ab32109dd45ef0 (patch)
tree54f8cf3ab5de72d3452d879650390240e69096d6 /core/jni
parente136a72810197029a01b4e30b2063d9993b7a9ad (diff)
parente590568417aa824e7b0e76ae727556d329cb57cf (diff)
downloadframeworks_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.cpp2
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,