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

Unified Diff: skia/ext/analysis_canvas.h

Issue 492943002: AnalysisCanvas is missing an override for virtual void onClipRegion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 475947d75ab52968689ac5a03a3b7b9e34869513..00c0adba9cb1849acd391ec3e877aa622d80dee5 100644
--- a/skia/ext/analysis_canvas.h
+++ b/skia/ext/analysis_canvas.h
@@ -84,6 +84,8 @@ class SK_API AnalysisCanvas : public SkCanvas, public SkDrawPictureCallback {
virtual void onClipPath(const SkPath& path,
SkRegion::Op op,
ClipEdgeStyle edge_style) OVERRIDE;
+ virtual void onClipRegion(const SkRegion& deviceRgn,
+ SkRegion::Op op) OVERRIDE;
virtual void onDrawText(const void* text,
size_t byteLength,
@@ -108,7 +110,9 @@ class SK_API AnalysisCanvas : public SkCanvas, public SkDrawPictureCallback {
const SkRRect& inner,
const SkPaint&) OVERRIDE;
-private:
+ void OnComplexClip();
+
+ private:
typedef SkCanvas INHERITED;
int saved_stack_size_;
« 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