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

Unified Diff: ppapi/cpp/audio_config.h

Issue 10827248: PPAPI: Add missing const to AudioConfig::sample_frame_count(). (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
« 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: ppapi/cpp/audio_config.h
diff --git a/ppapi/cpp/audio_config.h b/ppapi/cpp/audio_config.h
index 3b1cefd27b6c20c7705d5f38ab9828af2629f64c..c3b93c332ec23ae8333c1ef2c4a5eb0764bb063a 100644
--- a/ppapi/cpp/audio_config.h
+++ b/ppapi/cpp/audio_config.h
@@ -120,7 +120,7 @@ class AudioConfig : public Resource {
/// Getter function for returning the internal sample frame count.
///
/// @return A uint32_t containing the sample frame count.
- uint32_t sample_frame_count() { return sample_frame_count_; }
+ uint32_t sample_frame_count() const { return sample_frame_count_; }
private:
PP_AudioSampleRate sample_rate_;
« 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