Index: webkit/glue/plugins/pepper_buffer.h |
diff --git a/webkit/glue/plugins/pepper_buffer.h b/webkit/glue/plugins/pepper_buffer.h |
index 2066bc1f2655acba9017a65defa446857d9fd7fe..c00711ecafe87be4fa7ad6a0cfbb437f78992b9c 100644 |
--- a/webkit/glue/plugins/pepper_buffer.h |
+++ b/webkit/glue/plugins/pepper_buffer.h |
@@ -32,7 +32,7 @@ class Buffer : public Resource { |
static const PPB_Buffer_Dev* GetInterface(); |
// Resource overrides. |
- Buffer* AsBuffer() { return this; } |
+ virtual Buffer* AsBuffer(); |
// PPB_Buffer implementation. |
bool Init(uint32_t size); |