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

Unified Diff: media/mojo/common/media_type_converters.h

Issue 2933573003: media: Followup changes to VideoFrame StructTraits. (Closed)
Patch Set: const& Created 3 years, 6 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/base/video_frame.cc ('k') | media/mojo/common/media_type_converters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/common/media_type_converters.h
diff --git a/media/mojo/common/media_type_converters.h b/media/mojo/common/media_type_converters.h
index d0afe7060aba25957eceec67080fbdf1060cb4a3..c10c277f496c1e6553781f9d3851b502806f7127 100644
--- a/media/mojo/common/media_type_converters.h
+++ b/media/mojo/common/media_type_converters.h
@@ -19,7 +19,6 @@ class DecoderBuffer;
class DecryptConfig;
class EncryptionScheme;
class VideoDecoderConfig;
-class VideoFrame;
struct CdmConfig;
struct CdmKeyInformation;
}
@@ -127,19 +126,6 @@ struct TypeConverter<scoped_refptr<media::AudioBuffer>,
const media::mojom::AudioBufferPtr& input);
};
-template <>
-struct TypeConverter<media::mojom::VideoFramePtr,
- scoped_refptr<media::VideoFrame>> {
- static media::mojom::VideoFramePtr Convert(
- const scoped_refptr<media::VideoFrame>& input);
-};
-template <>
-struct TypeConverter<scoped_refptr<media::VideoFrame>,
- media::mojom::VideoFramePtr> {
- static scoped_refptr<media::VideoFrame> Convert(
- const media::mojom::VideoFramePtr& input);
-};
-
} // namespace mojo
#endif // MEDIA_MOJO_COMMON_MEDIA_TYPE_CONVERTERS_H_
« no previous file with comments | « media/base/video_frame.cc ('k') | media/mojo/common/media_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698