am ebb896b0: am c1eff085: am e5905684: am eceb3171: am f4afc401: Merge "framework: fix bug for uninitialized variable"

* commit 'ebb896b0de3e2182a345fc0ae6773cc0e91a21d6':
  framework: fix bug for uninitialized variable
This commit is contained in:
Raph Levien
2012-09-17 11:09:27 -07:00
committed by Android Git Automerger

View File

@@ -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,