summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-09 20:34:57 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-09 20:34:57 +0000
commit5cc8544e34cdb2607f28543958b2e0bacf06082d (patch)
tree7ed8ceb6520e24747a37567005d69011c551395f /ppapi
parentf66b2bfe80a49c9941c11a646c6558aa9ad77b2b (diff)
downloadchromium_src-5cc8544e34cdb2607f28543958b2e0bacf06082d.zip
chromium_src-5cc8544e34cdb2607f28543958b2e0bacf06082d.tar.gz
chromium_src-5cc8544e34cdb2607f28543958b2e0bacf06082d.tar.bz2
PPAPI: Add missing const to AudioConfig::sample_frame_count().
Review URL: https://chromiumcodereview.appspot.com/10827248 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150886 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/cpp/audio_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/cpp/audio_config.h b/ppapi/cpp/audio_config.h
index 3b1cefd..c3b93c3 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_;