Remove unnecessary casts in AudioManagerDeleter on Mac.

The code currently does a const_cast (ewwww), and then a
static_cast<AudioManagerMac*>. The const cast is not needed, since
delete works on const pointers, and the static_cast is not needed
either, since the destructor is virtual so the correct one will be
called either way.

This also means that tests currently invokes undefined behavior when
using ScopedAudioManagerPtr with a mock/fake AudioManager. Oops.
This Cl fixes that.

BUG=693041
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2698503005
Cr-Commit-Position: refs/heads/master@{#451050}
3 files changed