Index: ppapi/cpp/dev/video_decoder_client_dev.cc |
diff --git a/ppapi/cpp/dev/video_decoder_client_dev.cc b/ppapi/cpp/dev/video_decoder_client_dev.cc |
index 4c345308b7094dc1026f68c34d2ed5556a1d09c1..eaab575ec9013cd4e5006591d73e8dc35bc852dd 100644 |
--- a/ppapi/cpp/dev/video_decoder_client_dev.cc |
+++ b/ppapi/cpp/dev/video_decoder_client_dev.cc |
@@ -70,11 +70,11 @@ static PPP_VideoDecoder_Dev videodecoder_interface = { |
} // namespace |
-VideoDecoderClient_Dev::VideoDecoderClient_Dev(const InstanceHandle& instance) |
+VideoDecoderClient_Dev::VideoDecoderClient_Dev(Instance* instance) |
: associated_instance_(instance) { |
Module::Get()->AddPluginInterface(kPPPVideoDecoderInterface, |
&videodecoder_interface); |
- Instance::AddPerInstanceObject(instance, kPPPVideoDecoderInterface, this); |
+ instance->AddPerInstanceObject(kPPPVideoDecoderInterface, this); |
} |
VideoDecoderClient_Dev::~VideoDecoderClient_Dev() { |