diff --git a/src/video_engine/vie_render_manager.cc b/src/video_engine/vie_render_manager.cc index 810c07914..58f97d151 100644 --- a/src/video_engine/vie_render_manager.cc +++ b/src/video_engine/vie_render_manager.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. + * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source @@ -154,7 +154,7 @@ WebRtc_Word32 ViERenderManager::RemoveRenderStream( const WebRtc_Word32 render_id) { // We need exclusive right to the items in the render manager to delete a // stream. - ViEManagerWriteScoped(*this); + ViEManagerWriteScoped scope(*this); CriticalSectionScoped cs(list_cs_.get()); MapItem* map_item = stream_to_vie_renderer_.Find(render_id);