aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/DrawLatticeBench.cpp
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2016-09-30 13:09:01 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-30 13:09:01 -0700
commitf6566314f84feaf7906fe89ac9cab694dfd75451 (patch)
treea8458cbea0c7dc2d5d9fc7ab2b800b8517134dc6 /bench/DrawLatticeBench.cpp
parentdb182c770f1c1dedbc98eb00a7761706d58482e8 (diff)
Fix nanobench crashes
TBR=egdaniel@google.com NOTRY=true BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2383223003 Review-Url: https://codereview.chromium.org/2383223003
Diffstat (limited to 'bench/DrawLatticeBench.cpp')
-rw-r--r--bench/DrawLatticeBench.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/bench/DrawLatticeBench.cpp b/bench/DrawLatticeBench.cpp
index 19d549f297..806815b21d 100644
--- a/bench/DrawLatticeBench.cpp
+++ b/bench/DrawLatticeBench.cpp
@@ -22,6 +22,7 @@ public:
fLattice.fYDivs = yDivs;
fLattice.fYCount = yCount;
fLattice.fFlags = nullptr;
+ fLattice.fBounds = nullptr;
fName = SkStringPrintf("DrawLattice_%s", desc);
}