Index: ppapi/cpp/dev/zoom_dev.cc |
diff --git a/ppapi/cpp/dev/zoom_dev.cc b/ppapi/cpp/dev/zoom_dev.cc |
index 4e9f78ff70925f009ed6116ee4484c3afa14f05c..0b19c09935a146cff0a49c8e2eac13f16bcc7a3a 100644 |
--- a/ppapi/cpp/dev/zoom_dev.cc |
+++ b/ppapi/cpp/dev/zoom_dev.cc |
@@ -35,10 +35,9 @@ template <> const char* interface_name<PPB_Zoom_Dev>() { |
} // namespace |
-Zoom_Dev::Zoom_Dev(const InstanceHandle& instance) |
- : associated_instance_(instance) { |
+Zoom_Dev::Zoom_Dev(Instance* instance) : associated_instance_(instance) { |
Module::Get()->AddPluginInterface(kPPPZoomInterface, &ppp_zoom); |
- Instance::AddPerInstanceObject(instance, kPPPZoomInterface, this); |
+ instance->AddPerInstanceObject(kPPPZoomInterface, this); |
} |
Zoom_Dev::~Zoom_Dev() { |