Reland "hide unused var"

This is a reland of 746db42e2c
Original change's description:
> hide unused var
> 
> Bug: skia:
> Change-Id: Ia060e0becd8d40817c59e2918678dbdc6dfd6cdd
> Reviewed-on: https://skia-review.googlesource.com/86041
> Reviewed-by: Mike Reed <reed@google.com>

Bug: skia:
Change-Id: I610ccfec1e1eb7888bd4f16f7d83fded10ccf0af
Reviewed-on: https://skia-review.googlesource.com/87720
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
This commit is contained in:
Mike Reed 2017-12-15 14:28:56 -05:00 committed by Skia Commit-Bot
parent bc9f3499c3
commit e1367b4a06

View File

@ -286,7 +286,9 @@ sk_sp<GrGeometryProcessor> GrDistanceFieldA8TextGeoProc::TestCreate(GrProcessorT
}
SkMatrix localMatrix = GrTest::TestMatrix(d->fRandom);
GrColor color = GrRandomColor(d->fRandom);
#ifdef SK_GAMMA_APPLY_TO_A8
float lum = d->fRandom->nextF();
#endif
return GrDistanceFieldA8TextGeoProc::Make(color,
proxies,
samplerState,