Make regenerateGlyphRunList on use the iterator

Change-Id: Iba68c94a62b535031594dcff46fd73ed36613b95
Reviewed-on: https://skia-review.googlesource.com/144120
Commit-Queue: Herb Derby <herb@google.com>
Auto-Submit: Herb Derby <herb@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/text/GrTextContext.h b/src/gpu/text/GrTextContext.h
index 7c8c576..2165746 100644
--- a/src/gpu/text/GrTextContext.h
+++ b/src/gpu/text/GrTextContext.h
@@ -8,10 +8,11 @@
 #ifndef GrTextContext_DEFINED
 #define GrTextContext_DEFINED
 
-#include "GrTextBlob.h"
 #include "GrDistanceFieldAdjustTable.h"
 #include "GrGeometryProcessor.h"
+#include "GrTextBlob.h"
 #include "GrTextUtils.h"
+#include "SkGlyphRun.h"
 
 #if GR_TEST_UTILS
 #include "GrDrawOpTest.h"
@@ -177,6 +178,11 @@
                                const char text[], size_t byteLength, const SkScalar pos[],
                                int scalarsPerPosition, const SkPoint& offset);
 
+    static void DrawBmpGlyphRun(GrTextBlob*, int runIndex, GrGlyphCache*,
+                                const SkSurfaceProps&, const GrTextUtils::Paint& paint,
+                                SkScalerContextFlags scalerContextFlags, const SkMatrix& viewMatrix,
+                                const SkGlyphRun& glyphRun, const SkPoint& offset);
+
     static void DrawBmpPosTextAsPaths(GrTextBlob*, int runIndex, GrGlyphCache*,
                                       const SkSurfaceProps&, const GrTextUtils::Paint& paint,
                                       SkScalerContextFlags scalerContextFlags,