probable fix for asan bot
NOTREECHECKS=True TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/956583002
This commit is contained in:
parent
e59bbf1cd5
commit
ab2f44cbfa
@ -93,6 +93,7 @@ public:
|
||||
}
|
||||
|
||||
void setClipStack(const SkClipStack* clipStack, const SkIPoint* origin = NULL) {
|
||||
this->reset();
|
||||
if (clipStack->isWideOpen()) {
|
||||
fClipType = kWideOpen_ClipType;
|
||||
fOrigin.setZero();
|
||||
|
@ -50,6 +50,6 @@ void GrClip::getConservativeBounds(int width, int height, SkIRect* devResult,
|
||||
}
|
||||
|
||||
const GrClip& GrClip::WideOpen() {
|
||||
static GrClip clip;
|
||||
static const GrClip clip;
|
||||
return clip;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user