Index: media/formats/mp4/track_run_iterator.h |
diff --git a/media/formats/mp4/track_run_iterator.h b/media/formats/mp4/track_run_iterator.h |
index b5009678b8bdc0625250901240203a1aac6206be..811e239868db77cbae00d5bcd42bb042d8adbc41 100644 |
--- a/media/formats/mp4/track_run_iterator.h |
+++ b/media/formats/mp4/track_run_iterator.h |
@@ -32,7 +32,7 @@ class MEDIA_EXPORT TrackRunIterator { |
public: |
// Create a new TrackRunIterator. A reference to |moov| will be retained for |
// the lifetime of this object. |
- TrackRunIterator(const Movie* moov, const LogCB& log_cb); |
+ TrackRunIterator(const Movie* moov, const scoped_refptr<MediaLog>& media_log); |
~TrackRunIterator(); |
// Sets up the iterator to handle all the runs from the current fragment. |
@@ -100,7 +100,7 @@ class MEDIA_EXPORT TrackRunIterator { |
const std::vector<uint8>& GetKeyId(size_t sample_index) const; |
const Movie* moov_; |
- LogCB log_cb_; |
+ scoped_refptr<MediaLog> media_log_; |
std::vector<TrackRunInfo> runs_; |
std::vector<TrackRunInfo>::const_iterator run_itr_; |