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

Unified Diff: media/video/video_decode_accelerator.h

Issue 2901753002: Make VDA::Config's converting constructor explicit (Closed)
Patch Set: removed comment 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
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();

Powered by Google App Engine
This is Rietveld 408576698