From 09dfc4759e99229e7c74891a88596e8b9b3d9026 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Wed, 13 Sep 2017 15:25:47 -0400 Subject: Pull non-substantive changes out of explicit GPU resource allocation CL Change-Id: Ib6a289553ecd15c722599b7dc0d347a7800801cb Reviewed-on: https://skia-review.googlesource.com/46284 Reviewed-by: Brian Osman Commit-Queue: Robert Phillips --- src/gpu/text/GrAtlasTextBlob.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/gpu/text/GrAtlasTextBlob.cpp') diff --git a/src/gpu/text/GrAtlasTextBlob.cpp b/src/gpu/text/GrAtlasTextBlob.cpp index 823444c972..b88ed9329e 100644 --- a/src/gpu/text/GrAtlasTextBlob.cpp +++ b/src/gpu/text/GrAtlasTextBlob.cpp @@ -298,10 +298,6 @@ inline void GrAtlasTextBlob::flushRun(GrRenderTargetContext* rtc, const GrClip& int lastRun = fRuns[run].fSubRunInfo.count() - 1; for (int subRun = 0; subRun <= lastRun; subRun++) { const Run::SubRunInfo& info = fRuns[run].fSubRunInfo[subRun]; - GrPaint grPaint; - if (!paint.toGrPaint(info.maskFormat(), rtc, viewMatrix, &grPaint)) { - continue; - } int glyphCount = info.glyphCount(); if (0 == glyphCount) { continue; -- cgit v1.2.3