Index: talk/media/base/capturemanager.cc |
diff --git a/talk/media/base/capturemanager.cc b/talk/media/base/capturemanager.cc |
index b7cbbf22ce1633fea5a14febf1102d16a21b982f..dab33fd2bc73d4996cbb93c8e5e0eaa30f48b461 100644 |
--- a/talk/media/base/capturemanager.cc |
+++ b/talk/media/base/capturemanager.cc |
@@ -297,7 +297,8 @@ bool CaptureManager::AddVideoRenderer(VideoCapturer* video_capturer, |
if (!adapter) { |
return false; |
} |
- return adapter->AddRenderer(video_renderer); |
+ adapter->AddRenderer(video_renderer); |
+ return true; |
} |
bool CaptureManager::RemoveVideoRenderer(VideoCapturer* video_capturer, |
@@ -310,7 +311,8 @@ bool CaptureManager::RemoveVideoRenderer(VideoCapturer* video_capturer, |
if (!adapter) { |
return false; |
} |
- return adapter->RemoveRenderer(video_renderer); |
+ adapter->RemoveRenderer(video_renderer); |
+ return true; |
} |
bool CaptureManager::IsCapturerRegistered(VideoCapturer* video_capturer) const { |