summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/FastCapture.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2015-03-03 11:32:04 -0800
committerGlenn Kasten <gkasten@google.com>2015-03-03 15:56:00 -0800
commit4dd03b5b68dcd8eb5f5ffe2cfe93d26b8f08b848 (patch)
tree203ce41ac6f50f6a4c90cefd3b33f6d351037163 /services/audioflinger/FastCapture.cpp
parente4a7ce250cb94a00aa2f76e5edca1c4479dc5401 (diff)
downloadframeworks_av-4dd03b5b68dcd8eb5f5ffe2cfe93d26b8f08b848.zip
frameworks_av-4dd03b5b68dcd8eb5f5ffe2cfe93d26b8f08b848.tar.gz
frameworks_av-4dd03b5b68dcd8eb5f5ffe2cfe93d26b8f08b848.tar.bz2
Remove redundant this->
Change-Id: Iaa11bcce94dd331425197aab49065939e226a6a2
Diffstat (limited to 'services/audioflinger/FastCapture.cpp')
-rw-r--r--services/audioflinger/FastCapture.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/services/audioflinger/FastCapture.cpp b/services/audioflinger/FastCapture.cpp
index d7c9a1f..2a10b4b 100644
--- a/services/audioflinger/FastCapture.cpp
+++ b/services/audioflinger/FastCapture.cpp
@@ -86,9 +86,9 @@ bool FastCapture::isSubClassCommand(FastThreadState::Command command)
void FastCapture::onStateChange()
{
- const FastCaptureState * const current = (const FastCaptureState *) this->mCurrent;
- const FastCaptureState * const previous = (const FastCaptureState *) this->mPrevious;
- FastCaptureDumpState * const dumpState = (FastCaptureDumpState *) this->mDumpState;
+ const FastCaptureState * const current = (const FastCaptureState *) mCurrent;
+ const FastCaptureState * const previous = (const FastCaptureState *) mPrevious;
+ FastCaptureDumpState * const dumpState = (FastCaptureDumpState *) mDumpState;
const size_t frameCount = current->mFrameCount;
bool eitherChanged = false;
@@ -156,9 +156,9 @@ void FastCapture::onStateChange()
void FastCapture::onWork()
{
- const FastCaptureState * const current = (const FastCaptureState *) this->mCurrent;
- FastCaptureDumpState * const dumpState = (FastCaptureDumpState *) this->mDumpState;
- const FastCaptureState::Command command = this->mCommand;
+ const FastCaptureState * const current = (const FastCaptureState *) mCurrent;
+ FastCaptureDumpState * const dumpState = (FastCaptureDumpState *) mDumpState;
+ const FastCaptureState::Command command = mCommand;
const size_t frameCount = current->mFrameCount;
if ((command & FastCaptureState::READ) /*&& isWarm*/) {