Index: webkit/glue/plugins/pepper_video_decoder.h |
diff --git a/webkit/glue/plugins/pepper_video_decoder.h b/webkit/glue/plugins/pepper_video_decoder.h |
index c8287098e3382c4ffb384be2954af970b78f147a..7a161e624042316630004288cb44ae1811ef15f0 100644 |
--- a/webkit/glue/plugins/pepper_video_decoder.h |
+++ b/webkit/glue/plugins/pepper_video_decoder.h |
@@ -28,7 +28,7 @@ class VideoDecoder : public Resource { |
static const PPB_VideoDecoder_Dev* GetInterface(); |
// Resource overrides. |
- VideoDecoder* AsVideoDecoder() { return this; } |
+ virtual VideoDecoder* AsVideoDecoder(); |
PluginInstance* instance() { return instance_.get(); } |