Index: webkit/glue/plugins/pepper_transport.h |
diff --git a/webkit/glue/plugins/pepper_transport.h b/webkit/glue/plugins/pepper_transport.h |
index fbba691a512aa15cd45d72109c0a60e5551a9b60..500dda0a0edaa70b1f38f13ef8acfa8cdfd64a9b 100644 |
--- a/webkit/glue/plugins/pepper_transport.h |
+++ b/webkit/glue/plugins/pepper_transport.h |
@@ -19,9 +19,7 @@ class Transport : public Resource { |
explicit Transport(PluginModule* module); |
virtual ~Transport(); |
static const PPB_Transport_Dev* GetInterface(); |
- virtual Transport* AsTransport() { |
- return this; |
- } |
+ virtual Transport* AsTransport(); |
bool Init(const char* name, |
const char* proto); |
private: |