Merge "Revert workaround for Skia bug now that Skia has been fixed." into klp-dev

This commit is contained in:
Derek Sollenberger
2013-09-04 17:36:21 +00:00
committed by Android (Google) Code Review

View File

@@ -764,8 +764,6 @@ public:
static void doTextBounds(JNIEnv* env, const jchar* text, int count, static void doTextBounds(JNIEnv* env, const jchar* text, int count,
jobject bounds, const SkPaint& paint, jint bidiFlags) { jobject bounds, const SkPaint& paint, jint bidiFlags) {
SkRect r; SkRect r;
r.set(0,0,0,0);
SkIRect ir; SkIRect ir;
sp<TextLayoutValue> value = TextLayoutEngine::getInstance().getValue(&paint, sp<TextLayoutValue> value = TextLayoutEngine::getInstance().getValue(&paint,