Index: ppapi/cpp/graphics_3d_client.cc |
diff --git a/ppapi/cpp/graphics_3d_client.cc b/ppapi/cpp/graphics_3d_client.cc |
index 6702c057e0836a4e1dab34cd747d0df478e00fd7..a00d2f3db99185451a5aeda0d794c1aefe193573 100644 |
--- a/ppapi/cpp/graphics_3d_client.cc |
+++ b/ppapi/cpp/graphics_3d_client.cc |
@@ -30,11 +30,11 @@ static PPP_Graphics3D graphics3d_interface = { |
} // namespace |
-Graphics3DClient::Graphics3DClient(const InstanceHandle& instance) |
+Graphics3DClient::Graphics3DClient(Instance* instance) |
: associated_instance_(instance) { |
Module::Get()->AddPluginInterface(kPPPGraphics3DInterface, |
&graphics3d_interface); |
- Instance::AddPerInstanceObject(instance, kPPPGraphics3DInterface, this); |
+ instance->AddPerInstanceObject(kPPPGraphics3DInterface, this); |
} |
Graphics3DClient::~Graphics3DClient() { |