Chromium Code Reviews| Index: webrtc/voice_engine/voice_engine_impl.h | 
| diff --git a/webrtc/voice_engine/voice_engine_impl.h b/webrtc/voice_engine/voice_engine_impl.h | 
| index 07f29c37b9aa177323ea88d154d16673e32a204e..a21aabdd708f1daf5977d3902fcc136384773cc5 100644 | 
| --- a/webrtc/voice_engine/voice_engine_impl.h | 
| +++ b/webrtc/voice_engine/voice_engine_impl.h | 
| @@ -128,7 +128,9 @@ class VoiceEngineImpl : public voe::SharedData, // Must be the first base class | 
| // This implements the Release() method for all the inherited interfaces. | 
| int Release() override; | 
| - private: | 
| + // This is *protected* so that FakeVoiceEngine can inherit from the class and | 
| + // manipulate the reference count. See: fake_voice_engine.h. | 
| + protected: | 
| Atomic32 _ref_count; | 
| rtc::scoped_ptr<const Config> own_config_; | 
| 
 
hta-webrtc
2015/10/20 21:29:00
but why is own_config_ left out in the protected r
 
the sun
2015/10/21 08:29:13
Good catch.
 
 | 
| }; |