OSDN Git Service

Use consistent style of & reference for AutoMutex
authorGlenn Kasten <gkasten@google.com>
Thu, 5 Jan 2012 23:41:56 +0000 (15:41 -0800)
committerGlenn Kasten <gkasten@google.com>
Fri, 6 Jan 2012 21:33:41 +0000 (13:33 -0800)
commita7d8d6fc5e102a08b262a1b78aa1abeeb097d9e4
tree311f4dca56c443667b06476a4277e6a5c7996657
parenta2a0a5d7d56baa831870f4bf2a0d942a477d92ef
Use consistent style of & reference for AutoMutex

AutoMutex, which is a typedef for Mutex::Autolock, is overloaded for
either a reference (&) or pointer (*) parameter, but we prefer to use
the reference form when the mutex is known at compile time.

Change-Id: I3515e6d6ab7959b2356a27fa3b04fd49e42cb31e
services/audioflinger/AudioFlinger.cpp