Index: skia/ext/analysis_canvas.h |
diff --git a/skia/ext/analysis_canvas.h b/skia/ext/analysis_canvas.h |
index 3c2daafebd770f33ee1c437de68d7c9970b88078..4ebf793a9c997ea7a9724381364c646097701b4b 100644 |
--- a/skia/ext/analysis_canvas.h |
+++ b/skia/ext/analysis_canvas.h |
@@ -35,6 +35,7 @@ class SK_API AnalysisCanvas : public SkCanvas { |
bool isCheap() const; |
bool getColorIfSolid(SkColor* color) const; |
bool isTransparent() const; |
+ bool hasText() const; |
void consumeLazyPixelRefs(LazyPixelRefList* pixelRefs); |
// Returns the estimated cost of drawing, in arbitrary units. |
@@ -76,6 +77,7 @@ class SK_API AnalysisDevice : public SkDevice { |
int getEstimatedCost() const; |
bool getColorIfSolid(SkColor* color) const; |
bool isTransparent() const; |
+ bool hasText() const; |
void consumeLazyPixelRefs(LazyPixelRefList* pixelRefs); |
void setForceNotSolid(bool flag); |
@@ -144,6 +146,7 @@ class SK_API AnalysisDevice : public SkDevice { |
bool isSolidColor_; |
SkColor color_; |
bool isTransparent_; |
+ bool hasText_; |
IdSet existingPixelRefIDs_; |
LazyPixelRefList lazyPixelRefs_; |
}; |