Index: src/gpu/text/GrAtlasTextContext.cpp |
diff --git a/src/gpu/text/GrAtlasTextContext.cpp b/src/gpu/text/GrAtlasTextContext.cpp |
index 8f45731bc3289ab16cbd31679de185420dc31316..0f36fe355af3d9c48ad8c5ee48e83167dc43a789 100644 |
--- a/src/gpu/text/GrAtlasTextContext.cpp |
+++ b/src/gpu/text/GrAtlasTextContext.cpp |
@@ -190,7 +190,7 @@ void GrAtlasTextContext::RegenerateTextBlob(GrAtlasTextBlob* cacheBlob, |
continue; |
} |
- runPaint.setFlags(FilterTextFlags(props, runPaint)); |
+ runPaint.setFlags(GrTextUtils::FilterTextFlags(props, runPaint)); |
cacheBlob->push_back_run(run); |
@@ -373,9 +373,6 @@ DRAW_BATCH_TEST_DEFINE(TextBlobBatch) { |
gContextID = context->uniqueID(); |
delete gTextContext; |
- // We don't yet test the fall back to paths in the GrTextContext base class. This is mostly |
- // because we don't really want to have a gpu device here. |
- // We enable distance fields by twiddling a knob on the paint |
gTextContext = GrAtlasTextContext::Create(); |
} |