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

Unified Diff: skia/ext/analysis_canvas.cc

Issue 337163003: Switch to the new SkCanvas::willSave() API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « skia/ext/analysis_canvas.h ('k') | skia/ext/benchmarking_canvas.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/analysis_canvas.cc
diff --git a/skia/ext/analysis_canvas.cc b/skia/ext/analysis_canvas.cc
index 59ae94820795f4c33fa5ba6909e53f39abd6d351..034b0b63d70d6e3838bb45079c4ab1041d57b1be 100644
--- a/skia/ext/analysis_canvas.cc
+++ b/skia/ext/analysis_canvas.cc
@@ -354,9 +354,9 @@ void AnalysisCanvas::onClipRRect(const SkRRect& rrect,
INHERITED::onClipRect(rrect.getBounds(), op, edge_style);
}
-void AnalysisCanvas::willSave(SkCanvas::SaveFlags flags) {
+void AnalysisCanvas::willSave() {
++saved_stack_size_;
- INHERITED::willSave(flags);
+ INHERITED::willSave();
}
SkCanvas::SaveLayerStrategy AnalysisCanvas::willSaveLayer(
« no previous file with comments | « skia/ext/analysis_canvas.h ('k') | skia/ext/benchmarking_canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698