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

Unified Diff: skia/ext/analysis_canvas.h

Issue 2425323002: Abort canvas analysis after a few operations are rejected (Closed)
Patch Set: Update comments 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 | skia/ext/analysis_canvas.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/analysis_canvas.h
diff --git a/skia/ext/analysis_canvas.h b/skia/ext/analysis_canvas.h
index a72f1cd13222a6e993678f710d8e1e26c07304f8..09e148ba61ff92aaff11003d530cc4dc490e7cac 100644
--- a/skia/ext/analysis_canvas.h
+++ b/skia/ext/analysis_canvas.h
@@ -137,6 +137,7 @@ class SK_API AnalysisCanvas : public SkCanvas, public SkPicture::AbortCallback {
SkColor color_;
bool is_transparent_;
int draw_op_count_;
+ int rejected_op_count_;
};
} // namespace skia
« no previous file with comments | « no previous file | skia/ext/analysis_canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698