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

Unified Diff: third_party/WebKit/Source/modules/mediasession/MediaMetadata.h

Issue 2612003002: Media Session: use dictionary instead of an interface for MediaImage. (Closed)
Patch Set: rebase and remove one more file Created 3 years, 11 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: third_party/WebKit/Source/modules/mediasession/MediaMetadata.h
diff --git a/third_party/WebKit/Source/modules/mediasession/MediaMetadata.h b/third_party/WebKit/Source/modules/mediasession/MediaMetadata.h
index bd013cfb54060ab05a31ba4e5cafd657b313c8de..6b80be9e299e5e227b1b7a60a013f348a24805dc 100644
--- a/third_party/WebKit/Source/modules/mediasession/MediaMetadata.h
+++ b/third_party/WebKit/Source/modules/mediasession/MediaMetadata.h
@@ -35,12 +35,12 @@ class MODULES_EXPORT MediaMetadata final
String title() const;
String artist() const;
String album() const;
- const HeapVector<Member<MediaImage>>& artwork() const;
+ const HeapVector<MediaImage>& artwork() const;
void setTitle(const String&);
void setArtist(const String&);
void setAlbum(const String&);
- void setArtwork(const HeapVector<Member<MediaImage>>&);
+ void setArtwork(const HeapVector<MediaImage>&);
// Called by MediaSession to associate or de-associate itself.
void setSession(MediaSession*);
@@ -62,7 +62,7 @@ class MODULES_EXPORT MediaMetadata final
String m_title;
String m_artist;
String m_album;
- HeapVector<Member<MediaImage>> m_artwork;
+ HeapVector<MediaImage> m_artwork;
Member<MediaSession> m_session;
Timer<MediaMetadata> m_notifySessionTimer;

Powered by Google App Engine
This is Rietveld 408576698