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

Unified Diff: include/core/SkCanvas.h

Issue 334393008: More SaveFlags removal twiddling. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: minor cleanup 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 | « no previous file | include/utils/SkProxyCanvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkCanvas.h
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 738408bf511fcdbfe1feb83f53a770de32feb7f1..a08e82800c953a344434c2167136e6b9e77a5ea8 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1201,9 +1201,9 @@ protected:
};
// Transitional, pending external clients cleanup.
- virtual void willSave(SaveFlags) {}
+ virtual void willSave(SaveFlags) { this->willSave(); }
- virtual void willSave() { this->willSave(kMatrixClip_SaveFlag); }
+ virtual void willSave() {}
virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveFlags) {
return kFullLayer_SaveLayerStrategy;
}
« no previous file with comments | « no previous file | include/utils/SkProxyCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698