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

Unified Diff: media/video/video_decode_accelerator.h

Issue 2901753002: Make VDA::Config's converting constructor explicit (Closed)
Patch Set: braces for multiline if Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/gpu/video_decode_accelerator_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/video_decode_accelerator.h
diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h
index 6fe0573fd0bbc24eb23506616c87ef40bdb19fa8..e61f6e2777f2976bf0dd27cc67d74596c0923432 100644
--- a/media/video/video_decode_accelerator.h
+++ b/media/video/video_decode_accelerator.h
@@ -130,9 +130,7 @@ class MEDIA_EXPORT VideoDecodeAccelerator {
Config();
Config(const Config& config);
- // Intentional converting constructor.
- // TODO(watk): Make this explicit.
- Config(VideoCodecProfile profile);
+ explicit Config(VideoCodecProfile profile);
~Config();
« no previous file with comments | « media/gpu/video_decode_accelerator_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698