|
Make DefaultDeleter for Video{De|En}codeAccelerator
This makes a specialization of base::DefaultDeleter so that scoped_ptr will
use Destroy() instead of the destructor. Without this, it seems wrong to
hold VideoDecodeAccelerator in a scoped_ptr, given that letting scoped_ptr
delete it via the destructor would be an error.
Also moves the destructors to protected, to prevent mistakes.
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273860
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+94 lines, -29 lines) |
Patch |
 |
M |
content/common/gpu/media/gpu_video_decode_accelerator.cc
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/gpu_video_encode_accelerator.cc
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/video_decode_accelerator_impl.h
|
View
|
1
|
2 chunks |
+21 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/video_decode_accelerator_impl.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/video_decode_accelerator_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/video_encode_accelerator_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_video_encoder.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/ppb_video_decoder_impl.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/external_video_encoder.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/filters/gpu_video_decoder.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/video/video_decode_accelerator.h
|
View
|
1
2
3
4
|
2 chunks |
+20 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/video/video_decode_accelerator.cc
|
View
|
1
2
3
4
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/video/video_encode_accelerator.h
|
View
|
1
2
3
4
|
2 chunks |
+20 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/video/video_encode_accelerator.cc
|
View
|
1
2
3
4
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
Total messages: 28 (0 generated)
|