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

Unified Diff: include/gpu/GrClip.h

Issue 2394113002: fix 'GrClip::quickContains was hidden' warning in GrNoClip (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrClip.h
diff --git a/include/gpu/GrClip.h b/include/gpu/GrClip.h
index 12a13438dbd18fbbaa3156843680fc0f5a6c3e50..96c6291ef7511106165b8109c9d99f22c78bc4a4 100644
--- a/include/gpu/GrClip.h
+++ b/include/gpu/GrClip.h
@@ -127,6 +127,9 @@ private:
bool quickContains(const SkRect&) const final {
return true;
}
+ bool quickContains(const SkRRect&) const final {
+ return true;
+ }
void getConservativeBounds(int width, int height, SkIRect* devResult,
bool* isIntersectionOfRects) const final {
devResult->setXYWH(0, 0, width, height);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698