aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/TextBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/TextBench.cpp')
-rw-r--r--bench/TextBench.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/bench/TextBench.cpp b/bench/TextBench.cpp
index 0bef92c7d7..9334c33476 100644
--- a/bench/TextBench.cpp
+++ b/bench/TextBench.cpp
@@ -49,6 +49,7 @@ class TextBench : public SkBenchmark {
public:
TextBench(void* param, const char text[], int ps,
SkColor color, FontQuality fq, bool doPos = false) : INHERITED(param) {
+ fPos = NULL;
fFQ = fq;
fDoPos = doPos;
fText.set(text);