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

Unified Diff: media/audio/audio_parameters.h

Issue 593653003: Refactoring AudioParameters |operator==| to |Equals()| method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « media/audio/audio_manager_base.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_parameters.h
diff --git a/media/audio/audio_parameters.h b/media/audio/audio_parameters.h
index 03fe043dfadd53e4ae4bf75edc1e9ce5eeadcacf..d0c62d3a9ab2f4406a7b1eee0b3503db642d989e 100644
--- a/media/audio/audio_parameters.h
+++ b/media/audio/audio_parameters.h
@@ -94,7 +94,7 @@ class MEDIA_EXPORT AudioParameters {
int effects() const { return effects_; }
// Comparison with other AudioParams.
- bool operator==(const AudioParameters& other) const {
+ bool Equals(const AudioParameters& other) const {
DaleCurtis 2014/09/22 21:30:24 Move into class now that it's no longer hacker sty
return format_ == other.format() &&
sample_rate_ == other.sample_rate() &&
channel_layout_ == other.channel_layout() &&
« no previous file with comments | « media/audio/audio_manager_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698