From 1aa6cdad1036f6c9fee02c4425ccc02e6bb3e46d Mon Sep 17 00:00:00 2001 From: Greg Daniel Date: Mon, 18 Dec 2017 21:14:02 +0000 Subject: [PATCH] Revert "hide unused var" This reverts commit 746db42e2c07050d5d0a0db11bfdab441d57e8cd. Reason for revert: revert needed to revert previous cl Original change's description: > hide unused var > > Bug: skia: > Change-Id: Ia060e0becd8d40817c59e2918678dbdc6dfd6cdd > Reviewed-on: https://skia-review.googlesource.com/86041 > Reviewed-by: Mike Reed TBR=reed@google.com,reed@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: skia: Change-Id: Ia60757c0007199e1c8409a7da15fa452fdb3b16a Reviewed-on: https://skia-review.googlesource.com/86801 Reviewed-by: Greg Daniel Commit-Queue: Greg Daniel --- src/gpu/effects/GrDistanceFieldGeoProc.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gpu/effects/GrDistanceFieldGeoProc.cpp b/src/gpu/effects/GrDistanceFieldGeoProc.cpp index c63ce8f3b2..b8548bb4db 100644 --- a/src/gpu/effects/GrDistanceFieldGeoProc.cpp +++ b/src/gpu/effects/GrDistanceFieldGeoProc.cpp @@ -286,9 +286,7 @@ sk_sp 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,