--- .//src/3rdparty/chromium/media/midi/midi_manager_mac.cc.orig 2015-10-12 21:36:43.000000000 -0700 +++ .//src/3rdparty/chromium/media/midi/midi_manager_mac.cc 2015-11-11 09:31:28.000000000 -0700 @@ -17,10 +17,6 @@ using base::SysCFStringRefToUTF8; using std::string; -// NB: System MIDI types are pointer types in 32-bit and integer types in -// 64-bit. Therefore, the initialization is the simplest one that satisfies both -// (if possible). - namespace media { namespace { @@ -206,11 +202,7 @@ // This method is called on a separate high-priority thread owned by CoreMIDI. MidiManagerMac* manager = static_cast(read_proc_refcon); -#if __LP64__ MIDIEndpointRef source = reinterpret_cast(src_conn_refcon); -#else - MIDIEndpointRef source = static_cast(src_conn_refcon); -#endif // Dispatch to class method. manager->ReadMidi(source, packet_list);