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

Unified Diff: media/base/buffers.cc

Issue 5574006: Start deinlining non-empty virtual methods. (This will be automatically checked (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove virtual from VideoFrame::type() Created 10 years 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 | « media/base/buffers.h ('k') | media/base/filters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/buffers.cc
diff --git a/media/base/buffers.cc b/media/base/buffers.cc
index 47087265262b064484d84ba79448d5ca40288fb8..ab66b9adbd2156be59e3b83cc137ae1cf7d9e22a 100644
--- a/media/base/buffers.cc
+++ b/media/base/buffers.cc
@@ -13,4 +13,8 @@ StreamSample::StreamSample() {}
StreamSample::~StreamSample() {}
+bool Buffer::IsEndOfStream() const {
+ return GetData() == NULL;
+}
+
} // namespace media
« no previous file with comments | « media/base/buffers.h ('k') | media/base/filters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698