aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-02-24 06:47:14 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-24 06:47:14 -0800
commitab2f44cbfab6d2e0e09c93c41932f464a061742d (patch)
tree6d4f0eff70369ca2c22ffc1b050f43adfda87289 /include
parente59bbf1cd5dcce66181083821c43a157998bc78b (diff)
probable fix for asan bot
NOTREECHECKS=True TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/956583002
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrClip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpu/GrClip.h b/include/gpu/GrClip.h
index ba26d5c081..76cb46e312 100644
--- a/include/gpu/GrClip.h
+++ b/include/gpu/GrClip.h
@@ -93,6 +93,7 @@ public:
}
void setClipStack(const SkClipStack* clipStack, const SkIPoint* origin = NULL) {
+ this->reset();
if (clipStack->isWideOpen()) {
fClipType = kWideOpen_ClipType;
fOrigin.setZero();