Index: ppapi/proxy/ppb_video_capture_proxy.cc |
diff --git a/ppapi/proxy/ppb_video_capture_proxy.cc b/ppapi/proxy/ppb_video_capture_proxy.cc |
index e9573158938f4a4e15b5fec0fa398d338f48c988..56a99e5c1f61a27c8f4f5fa2e430dd1db3797632 100644 |
--- a/ppapi/proxy/ppb_video_capture_proxy.cc |
+++ b/ppapi/proxy/ppb_video_capture_proxy.cc |
@@ -24,6 +24,7 @@ |
#include "ppapi/thunk/ppb_video_capture_api.h" |
#include "ppapi/thunk/thunk.h" |
+using ppapi::HostResource; |
using ppapi::thunk::EnterResourceNoLock; |
using ppapi::thunk::PPB_Buffer_API; |
using ppapi::thunk::PPB_BufferTrusted_API; |
@@ -149,9 +150,6 @@ class VideoCapture : public ppapi::thunk::PPB_VideoCapture_API, |
VideoCapture(const HostResource& resource); |
virtual ~VideoCapture(); |
- // Resource overrides. |
- virtual VideoCapture* AsVideoCapture() OVERRIDE; |
- |
// ResourceObjectBase overrides. |
virtual ppapi::thunk::PPB_VideoCapture_API* AsPPB_VideoCapture_API() OVERRIDE; |
@@ -261,10 +259,6 @@ VideoCapture::VideoCapture(const HostResource& resource) |
VideoCapture::~VideoCapture() { |
} |
-VideoCapture* VideoCapture::AsVideoCapture() { |
- return this; |
-} |
- |
ppapi::thunk::PPB_VideoCapture_API* VideoCapture::AsPPB_VideoCapture_API() { |
return this; |
} |