am f4afc401: Merge "framework: fix bug for uninitialized variable"

* commit 'f4afc40101c00800c4dc53f165b93f741327416d':
  framework: fix bug for uninitialized variable
This commit is contained in:
Raph Levien
2012-09-14 12:15:03 -07:00
committed by Android Git Automerger

View File

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