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

* commit 'eceb317116d87dada85d06df8fe0e07dd4aec49d':
  framework: fix bug for uninitialized variable
This commit is contained in:
Raph Levien
2012-09-14 12:16:32 -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,