Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Unified Diff: src/gpu/gl/GrGLIRect.h

Issue 2160093002: Allow GrReducedClip to take non-integer query bounds (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Allow GrReducedClip to take non-integer query bounds Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/gl/GrGLIRect.h
diff --git a/src/gpu/gl/GrGLIRect.h b/src/gpu/gl/GrGLIRect.h
index 44f5280fd69fe370729b7720a382b605dc802356..41ac13b753eecfc996d9110f4c90969593836989 100644
--- a/src/gpu/gl/GrGLIRect.h
+++ b/src/gpu/gl/GrGLIRect.h
@@ -54,9 +54,7 @@ struct GrGLIRect {
}
fHeight = height;
- SkASSERT(fLeft >= 0);
SkASSERT(fWidth >= 0);
- SkASSERT(fBottom >= 0);
csmartdalton 2016/07/19 15:59:01 This started asserting because we aren’t always cl
SkASSERT(fHeight >= 0);
}
« src/gpu/GrReducedClip.cpp ('K') | « src/gpu/GrReducedClip.cpp ('k') | src/utils/SkLua.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698