Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1124)

Side by Side Diff: webrtc/modules/video_capture/windows/device_info_ds.cc

Issue 1477013005: Replace RefCountImpl with rtc::RefCountedObject. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: add back explicit Release()s in test Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/modules/video_capture/windows/device_info_ds.h" 11 #include "webrtc/modules/video_capture/windows/device_info_ds.h"
12 12
13 #include "webrtc/modules/video_capture/video_capture_config.h" 13 #include "webrtc/modules/video_capture/video_capture_config.h"
14 #include "webrtc/modules/video_capture/video_capture_delay.h" 14 #include "webrtc/modules/video_capture/video_capture_delay.h"
15 #include "webrtc/modules/video_capture/windows/help_functions_ds.h" 15 #include "webrtc/modules/video_capture/windows/help_functions_ds.h"
16 #include "webrtc/system_wrappers/include/ref_count.h"
17 #include "webrtc/system_wrappers/include/trace.h" 16 #include "webrtc/system_wrappers/include/trace.h"
18 17
19 #include <Dvdmedia.h> 18 #include <Dvdmedia.h>
20 #include <Streams.h> 19 #include <Streams.h>
21 20
22 namespace webrtc 21 namespace webrtc
23 { 22 {
24 namespace videocapturemodule 23 namespace videocapturemodule
25 { 24 {
26 const int32_t NoWindowsCaptureDelays = 1; 25 const int32_t NoWindowsCaptureDelays = 1;
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 // Release memory. 788 // Release memory.
790 if (uuid.pElems) 789 if (uuid.pElems)
791 { 790 {
792 CoTaskMemFree(uuid.pElems); 791 CoTaskMemFree(uuid.pElems);
793 } 792 }
794 filter->Release(); 793 filter->Release();
795 return 0; 794 return 0;
796 } 795 }
797 } // namespace videocapturemodule 796 } // namespace videocapturemodule
798 } // namespace webrtc 797 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698