diff options
author | 2015-10-27 14:01:05 -0700 | |
---|---|---|
committer | 2015-10-27 14:01:05 -0700 | |
commit | 337797580de42cdb722caab4bed121311ed7d0d2 (patch) | |
tree | 3cd5b713b9d45ba843ab102972335121efcf2c7c /src/gpu/GrTextBlobCache.h | |
parent | aef4971443414990cad984817ce4b90fee04bd21 (diff) |
Make SkTextBlob::RunIterator public.
Motivation: This will be easier than adding a friend every time I want
to create a one-off SkCanvas subclass or SkRemote::Encoder subclass.
See also: SkPath::Iter.
Review URL: https://codereview.chromium.org/1411723005
Diffstat (limited to 'src/gpu/GrTextBlobCache.h')
-rw-r--r-- | src/gpu/GrTextBlobCache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrTextBlobCache.h b/src/gpu/GrTextBlobCache.h index 5f24e2ac16..8eee9d13db 100644 --- a/src/gpu/GrTextBlobCache.h +++ b/src/gpu/GrTextBlobCache.h @@ -10,7 +10,7 @@ #include "GrAtlasTextContext.h" #include "SkTDynamicHash.h" -#include "SkTextBlob.h" +#include "SkTextBlobRunIterator.h" class GrTextBlobCache { public: @@ -98,7 +98,7 @@ public: // TODO move to SkTextBlob static void BlobGlyphCount(int* glyphCount, int* runCount, const SkTextBlob* blob) { - SkTextBlob::RunIterator itCounter(blob); + SkTextBlobRunIterator itCounter(blob); for (; !itCounter.done(); itCounter.next(), (*runCount)++) { *glyphCount += itCounter.glyphCount(); } |