Index: third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.cpp |
diff --git a/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.cpp b/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.cpp |
index 42ee47843cc8110f404cb7df1890b238649714e2..2f7025183e872986a5d6be858147c6acfa671ba6 100644 |
--- a/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.cpp |
+++ b/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.cpp |
@@ -126,7 +126,7 @@ double AudioDSPKernelProcessor::tailTime() const { |
MutexTryLocker tryLocker(m_processLock); |
if (tryLocker.locked()) { |
// It is expected that all the kernels have the same tailTime. |
- return !m_kernels.isEmpty() ? m_kernels.first()->tailTime() : 0; |
+ return !m_kernels.isEmpty() ? m_kernels.front()->tailTime() : 0; |
} |
// Since we don't want to block the Audio Device thread, we return a large |
// value instead of trying to acquire the lock. |
@@ -138,7 +138,7 @@ double AudioDSPKernelProcessor::latencyTime() const { |
MutexTryLocker tryLocker(m_processLock); |
if (tryLocker.locked()) { |
// It is expected that all the kernels have the same latencyTime. |
- return !m_kernels.isEmpty() ? m_kernels.first()->latencyTime() : 0; |
+ return !m_kernels.isEmpty() ? m_kernels.front()->latencyTime() : 0; |
} |
// Since we don't want to block the Audio Device thread, we return a large |
// value instead of trying to acquire the lock. |