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..21039943fd29d472f97c52283ba399ddc2ed9770 100644 |
--- a/webrtc/voice_engine/voice_engine_impl.h |
+++ b/webrtc/voice_engine/voice_engine_impl.h |
@@ -128,8 +128,11 @@ 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; |
+ private: |
rtc::scoped_ptr<const Config> own_config_; |
}; |