GrTessellator: add a null-check for a clusterfuzz test case.
BUG=695696 Change-Id: I1c001316721b3c042cff115c905ff0d2c2698ac0 Reviewed-on: https://skia-review.googlesource.com/9053 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
parent
373b538503
commit
90732fd36e
@ -793,7 +793,7 @@ void insert_edge(Edge* edge, Edge* prev, EdgeList* edges) {
|
||||
}
|
||||
|
||||
void find_enclosing_edges(Vertex* v, EdgeList* edges, Edge** left, Edge** right) {
|
||||
if (v->fFirstEdgeAbove) {
|
||||
if (v->fFirstEdgeAbove && v->fLastEdgeAbove) {
|
||||
*left = v->fFirstEdgeAbove->fLeft;
|
||||
*right = v->fLastEdgeAbove->fRight;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user