From 65a17539d2ab1866b2c8252155b0a7fbe127d861 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Wed, 25 Jan 2017 19:26:59 -0500 Subject: [PATCH] Fix clang warning about unused lambda capture. This was found by a tip of tree build of clang. Change-Id: I9aa3fecd47ae69350e8d58e796f960a991b7759e Reviewed-on: https://skia-review.googlesource.com/7586 Commit-Queue: Brian Salomon Reviewed-by: Mike Klein --- gm/showmiplevels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gm/showmiplevels.cpp b/gm/showmiplevels.cpp index 36e81010e8..ba9f228791 100644 --- a/gm/showmiplevels.cpp +++ b/gm/showmiplevels.cpp @@ -185,7 +185,7 @@ protected: orig.peekPixels(&basePM); for (auto method : methods) { canvas->translate(orig.width()/2 + 8.0f, 0); - drawLevels(canvas, orig, [basePM, method](const SkPixmap& prev, const SkPixmap& curr) { + drawLevels(canvas, orig, [method](const SkPixmap& prev, const SkPixmap& curr) { SkBitmap bm; SkBitmapScaler::Resize(&bm, prev, method, curr.width(), curr.height()); return bm;