Fix ASAN int overflow error in GLProgramsTest
TBR=senorblanco@chromium.org GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2289143006 Review-Url: https://codereview.chromium.org/2289143006
This commit is contained in:
parent
0590fa549d
commit
d3030acc2c
@ -380,8 +380,9 @@ DRAW_BATCH_TEST_DEFINE(TesselatingPathBatch) {
|
||||
GrColor color = GrRandomColor(random);
|
||||
SkMatrix viewMatrix = GrTest::TestMatrixInvertible(random);
|
||||
SkPath path = GrTest::TestPath(random);
|
||||
SkIRect devClipBounds = SkIRect::MakeXYWH(
|
||||
SkIRect devClipBounds = SkIRect::MakeLTRB(
|
||||
random->nextU(), random->nextU(), random->nextU(), random->nextU());
|
||||
devClipBounds.sort();
|
||||
bool antiAlias = random->nextBool();
|
||||
GrStyle style;
|
||||
do {
|
||||
|
Loading…
Reference in New Issue
Block a user