Index: third_party/WebKit/Source/modules/mediasession/MediaMetadata.cpp |
diff --git a/third_party/WebKit/Source/modules/mediasession/MediaMetadata.cpp b/third_party/WebKit/Source/modules/mediasession/MediaMetadata.cpp |
index ca69cad616717b0a4c6ec98c117ee142654bd808..d27f79f6ce549f02b88d07831d62ae9ae6d7cc8d 100644 |
--- a/third_party/WebKit/Source/modules/mediasession/MediaMetadata.cpp |
+++ b/third_party/WebKit/Source/modules/mediasession/MediaMetadata.cpp |
@@ -41,19 +41,6 @@ const HeapVector<Member<MediaArtwork>>& MediaMetadata::artwork() const { |
return m_artwork; |
} |
-MediaMetadata::operator WebMediaMetadata() const { |
- WebMediaMetadata webMetadata; |
- webMetadata.title = m_title; |
- webMetadata.artist = m_artist; |
- webMetadata.album = m_album; |
- WebVector<WebMediaArtwork> webArtwork(m_artwork.size()); |
- for (size_t i = 0; i < m_artwork.size(); ++i) { |
- webArtwork[i] = *m_artwork[i]->data(); |
- } |
- webMetadata.artwork.swap(webArtwork); |
- return webMetadata; |
-} |
- |
DEFINE_TRACE(MediaMetadata) { |
visitor->trace(m_artwork); |
} |