Index: sky/engine/platform/text/TextRun.h |
diff --git a/sky/engine/platform/text/TextRun.h b/sky/engine/platform/text/TextRun.h |
index f6329ad4ac0504fb1219c89c3327b7526ec57a35..285ba5b33e07c4fd4af0a124f21d67f368998d92 100644 |
--- a/sky/engine/platform/text/TextRun.h |
+++ b/sky/engine/platform/text/TextRun.h |
@@ -32,6 +32,8 @@ |
#include "sky/engine/wtf/RefCounted.h" |
#include "sky/engine/wtf/text/WTFString.h" |
+class SkTextBlob; |
+ |
namespace blink { |
class FloatPoint; |
@@ -245,6 +247,7 @@ struct TextRunPaintInfo { |
: run(r) |
, from(0) |
, to(r.length()) |
+ , cachedTextBlob(nullptr) |
{ |
} |
@@ -252,6 +255,7 @@ struct TextRunPaintInfo { |
int from; |
int to; |
FloatRect bounds; |
+ RefPtr<const SkTextBlob>* cachedTextBlob; |
}; |
} |