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

Unified Diff: media/audio/simple_sources.cc

Issue 10837118: Dead code elimination: scythe.chrome_functions:segment.path %media% edition, round 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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/audio/simple_sources.cc
diff --git a/media/audio/simple_sources.cc b/media/audio/simple_sources.cc
index e18f208ca5572b09a8741b76636849057ec758af..f33664e406193d899cdb83520519e88d2e7b20a2 100644
--- a/media/audio/simple_sources.cc
+++ b/media/audio/simple_sources.cc
@@ -88,11 +88,6 @@ uint32 PushSource::UnProcessedBytes() {
return buffer_.forward_bytes();
}
-void PushSource::ClearAll() {
- // Cleanup() will discard all the data.
- CleanUp();
-}
-
void PushSource::CleanUp() {
buffer_.Clear();
}

Powered by Google App Engine
This is Rietveld 408576698