Chromium Code Reviews| Index: Source/platform/audio/AudioDSPKernel.h |
| diff --git a/Source/platform/audio/AudioDSPKernel.h b/Source/platform/audio/AudioDSPKernel.h |
| index a006864acd585a3962c8af5870099bfe3043c3d0..ff9d0945d8f7c23ed659f945e660a9ed13ce0324 100644 |
| --- a/Source/platform/audio/AudioDSPKernel.h |
| +++ b/Source/platform/audio/AudioDSPKernel.h |
| @@ -67,6 +67,12 @@ public: |
| virtual double latencyTime() const = 0; |
| protected: |
| + // Oilpan: This raw pointer is safe because the AudioDSPKernelProcessor object is guaranteed |
|
tkent
2014/08/15 07:39:01
nit: I recommend to wrap code comments in 80 colum
haraken
2014/08/15 08:08:00
Done.
|
| + // to be kept alive while the AudioDSPKernel object is alive. |
| + // Ideally we want to move the AudioDSPKernel hierarchy to the heap and use |
| + // a Member<AudioDSPKernelProcessor>. However, we cannot do that because AudioDSPKernel can be |
| + // allocated in audio threads (which are not registered to Oilpan). |
| + GC_PLUGIN_IGNORE("") |
| AudioDSPKernelProcessor* m_kernelProcessor; |
| float m_sampleRate; |
| }; |