Index: ppapi/cpp/dev/video_capture_client_dev.cc |
diff --git a/ppapi/cpp/dev/video_capture_client_dev.cc b/ppapi/cpp/dev/video_capture_client_dev.cc |
index 22a6b9b3838ebfd2e96e03746ccaed481a59c1cc..2a40232921c923ca9423a564cc9279c0c4fe251c 100644 |
--- a/ppapi/cpp/dev/video_capture_client_dev.cc |
+++ b/ppapi/cpp/dev/video_capture_client_dev.cc |
@@ -65,11 +65,11 @@ PPP_VideoCapture_Dev ppp_video_capture = { |
} // namespace |
-VideoCaptureClient_Dev::VideoCaptureClient_Dev(const InstanceHandle& instance) |
+VideoCaptureClient_Dev::VideoCaptureClient_Dev(Instance* instance) |
: instance_(instance) { |
Module::Get()->AddPluginInterface(kPPPVideoCaptureInterface, |
&ppp_video_capture); |
- Instance::AddPerInstanceObject(instance, kPPPVideoCaptureInterface, this); |
+ instance->AddPerInstanceObject(kPPPVideoCaptureInterface, this); |
} |
VideoCaptureClient_Dev::~VideoCaptureClient_Dev() { |