summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 19:00:14 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 19:00:14 +0000
commit80fec4bc4af53af275b2db98cc882422390641e2 (patch)
treec71f6be3f977326db81f894991b3270d9f455aad /webkit
parent6c6614f1432586c507559f4b05b8ba8dc538aa48 (diff)
downloadchromium_src-80fec4bc4af53af275b2db98cc882422390641e2.zip
chromium_src-80fec4bc4af53af275b2db98cc882422390641e2.tar.gz
chromium_src-80fec4bc4af53af275b2db98cc882422390641e2.tar.bz2
Adding missing virtual keyword to PPB_VideoDecoder_Impl.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6740028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80037 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/plugins/ppapi/ppb_video_decoder_impl.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/webkit/plugins/ppapi/ppb_video_decoder_impl.h b/webkit/plugins/ppapi/ppb_video_decoder_impl.h
index cb9750d..c7fbbfa 100644
--- a/webkit/plugins/ppapi/ppb_video_decoder_impl.h
+++ b/webkit/plugins/ppapi/ppb_video_decoder_impl.h
@@ -8,6 +8,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "base/memory/scoped_callback_factory.h"
#include "base/memory/scoped_ptr.h"
#include "ppapi/c/pp_var.h"
@@ -52,14 +53,17 @@ class PPB_VideoDecoder_Impl : public Resource,
bool Abort(PP_CompletionCallback callback);
// media::VideoDecodeAccelerator::Client implementation.
- void ProvidePictureBuffers(uint32_t requested_num_of_buffers,
- const std::vector<uint32_t>& buffer_properties);
- void DismissPictureBuffer(
- media::VideoDecodeAccelerator::PictureBuffer* picture_buffer);
- void PictureReady(media::VideoDecodeAccelerator::Picture* picture);
- void NotifyPictureReady();
- void NotifyEndOfStream();
- void NotifyError(media::VideoDecodeAccelerator::Error error);
+ virtual void ProvidePictureBuffers(
+ uint32_t requested_num_of_buffers,
+ const std::vector<uint32_t>& buffer_properties) OVERRIDE;
+ virtual void DismissPictureBuffer(
+ media::VideoDecodeAccelerator::PictureBuffer* picture_buffer) OVERRIDE;
+ virtual void PictureReady(
+ media::VideoDecodeAccelerator::Picture* picture) OVERRIDE;
+ virtual void NotifyPictureReady() OVERRIDE;
+ virtual void NotifyEndOfStream() OVERRIDE;
+ virtual void NotifyError(
+ media::VideoDecodeAccelerator::Error error) OVERRIDE;
private:
void OnAbortComplete();