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

Unified Diff: content/common/gpu/media/video_decode_accelerator_unittest.cc

Issue 1689093002: Fix -Wunused-function warning after https://codereview.chromium.org/1673563002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/video_decode_accelerator_unittest.cc
diff --git a/content/common/gpu/media/video_decode_accelerator_unittest.cc b/content/common/gpu/media/video_decode_accelerator_unittest.cc
index 36466304a3c433db1a365f94ea9e4bf8bdd1d616..eeb89d1728a9cab03ec2d2bf708fbf97d25b5306 100644
--- a/content/common/gpu/media/video_decode_accelerator_unittest.cc
+++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc
@@ -1196,17 +1196,6 @@ class VideoDecodeAcceleratorParamTest
base::Tuple<int, int, int, ResetPoint, ClientState, bool, bool> > {
};
-// Helper so that gtest failures emit a more readable version of the tuple than
-// its byte representation.
-::std::ostream& operator<<(
- ::std::ostream& os,
- const base::Tuple<int, int, int, ResetPoint, ClientState, bool, bool>& t) {
- return os << base::get<0>(t) << ", " << base::get<1>(t) << ", "
- << base::get<2>(t) << ", " << base::get<3>(t) << ", "
- << base::get<4>(t) << ", " << base::get<5>(t) << ", "
- << base::get<6>(t);
-}
-
// Wait for |note| to report a state and if it's not |expected_state| then
// assert |client| has deleted its decoder.
static void AssertWaitForStateOrDeleted(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698