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

Unified Diff: media/base/decoder_buffer_queue.cc

Issue 1409123005: Add methods for telling V8 how much memory audio/video is using. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mock filter. Created 5 years, 2 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: media/base/decoder_buffer_queue.cc
diff --git a/media/base/decoder_buffer_queue.cc b/media/base/decoder_buffer_queue.cc
index bdd7f4768a485c05cd4aae3686b76221d8a37d67..df07b593de538fc28ffd09a6b4959b60e54e2a90 100644
--- a/media/base/decoder_buffer_queue.cc
+++ b/media/base/decoder_buffer_queue.cc
@@ -75,7 +75,7 @@ void DecoderBufferQueue::Clear() {
earliest_valid_timestamp_ = kNoTimestamp();
}
-bool DecoderBufferQueue::IsEmpty() {
+bool DecoderBufferQueue::IsEmpty() const {
return queue_.empty();
}

Powered by Google App Engine
This is Rietveld 408576698