diff options
author | djsollen <djsollen@google.com> | 2014-11-14 11:11:46 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-14 11:11:46 -0800 |
commit | c87dd2ce965cd1bbc8a74abe0c141658a469d7f2 (patch) | |
tree | b86faa0a75d89cfccffa9b4f5b4df70eb25d7a8c /include/views | |
parent | 33068c19f1b8c18f000c18935ad11f1082534b5a (diff) |
Enable unused param checking for public includes.
This CL cleans up the existing violations and enables the
build time check to ensure that we don't regress.
The motiviation behind this change is to allow clients who include
our headers to be able to build with this warning enabled.
Review URL: https://codereview.chromium.org/726923002
Diffstat (limited to 'include/views')
-rw-r--r-- | include/views/SkView.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/views/SkView.h b/include/views/SkView.h index c083cf1bb8..db712317e5 100644 --- a/include/views/SkView.h +++ b/include/views/SkView.h @@ -337,12 +337,12 @@ protected: //! called once before all of the children are drawn (or clipped/translated) virtual SkCanvas* beforeChildren(SkCanvas* c) { return c; } //! called once after all of the children are drawn (or clipped/translated) - virtual void afterChildren(SkCanvas* orig) {} + virtual void afterChildren(SkCanvas*) {} //! called right before this child's onDraw is called - virtual void beforeChild(SkView* child, SkCanvas* canvas) {} + virtual void beforeChild(SkView* /*child*/, SkCanvas*) {} //! called right after this child's onDraw is called - virtual void afterChild(SkView* child, SkCanvas* canvas) {} + virtual void afterChild(SkView* /*child*/, SkCanvas*) {} /** Override this if you might handle the click */ |