Clean up some warnings about unused code.

BUG=skia:

Review URL: https://codereview.chromium.org/663093004
2 files changed