Merge to XFA: Remove unused code warnings found by clang.

R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1297593005 .

(cherry picked from commit bcfcc4619017b7f70c84a582196763894cc72d24)

Review URL: https://codereview.chromium.org/1306673002 .
5 files changed