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

Unified Diff: media/base/text_renderer.h

Issue 2371783002: Remove stl_util's deletion functions from media/. (Closed)
Patch Set: wolenetz Created 4 years, 3 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 | « no previous file | media/base/text_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/text_renderer.h
diff --git a/media/base/text_renderer.h b/media/base/text_renderer.h
index ab1867df75a7e53faf3cb4cf539309a883c31175..96aa0d51cb4c3e26cda71cd60984974af6699e75 100644
--- a/media/base/text_renderer.h
+++ b/media/base/text_renderer.h
@@ -121,8 +121,8 @@ class MEDIA_EXPORT TextRenderer {
};
State state_;
- typedef std::map<DemuxerStream*, TextTrackState*> TextTrackStateMap;
- TextTrackStateMap text_track_state_map_;
+ std::map<DemuxerStream*, std::unique_ptr<TextTrackState>>
+ text_track_state_map_;
// Indicates how many read requests are in flight.
int pending_read_count_;
« no previous file with comments | « no previous file | media/base/text_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698