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
parent f66b2bfe
...@@ -120,7 +120,7 @@ class AudioConfig : public Resource { ...@@ -120,7 +120,7 @@ class AudioConfig : public Resource {
/// Getter function for returning the internal sample frame count. /// Getter function for returning the internal sample frame count.
/// ///
/// @return A uint32_t containing the 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: private:
PP_AudioSampleRate sample_rate_; PP_AudioSampleRate sample_rate_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment