Index: ppapi/cpp/mouse_lock.cc |
diff --git a/ppapi/cpp/mouse_lock.cc b/ppapi/cpp/mouse_lock.cc |
index 828ee89436b5d49142453889e0fac109479c58a4..7724a0f1aac87884ad5a932073fef40504ca9337 100644 |
--- a/ppapi/cpp/mouse_lock.cc |
+++ b/ppapi/cpp/mouse_lock.cc |
@@ -36,10 +36,10 @@ template <> const char* interface_name<PPB_MouseLock>() { |
} // namespace |
-MouseLock::MouseLock(const InstanceHandle& instance) |
+MouseLock::MouseLock(Instance* instance) |
: associated_instance_(instance) { |
Module::Get()->AddPluginInterface(kPPPMouseLockInterface, &ppp_mouse_lock); |
- Instance::AddPerInstanceObject(instance, kPPPMouseLockInterface, this); |
+ instance->AddPerInstanceObject(kPPPMouseLockInterface, this); |
} |
MouseLock::~MouseLock() { |