Index: ppapi/cpp/dev/widget_client_dev.cc |
diff --git a/ppapi/cpp/dev/widget_client_dev.cc b/ppapi/cpp/dev/widget_client_dev.cc |
index f170e159e07a389894199e01db2d1ee419102a81..731f2922778e762a8ac210883d940c81d7582cf0 100644 |
--- a/ppapi/cpp/dev/widget_client_dev.cc |
+++ b/ppapi/cpp/dev/widget_client_dev.cc |
@@ -69,13 +69,13 @@ static PPP_Scrollbar_Dev scrollbar_interface = { |
} // namespace |
-WidgetClient_Dev::WidgetClient_Dev(const InstanceHandle& instance) |
+WidgetClient_Dev::WidgetClient_Dev(Instance* instance) |
: associated_instance_(instance) { |
Module::Get()->AddPluginInterface(kPPPWidgetInterface, &widget_interface); |
- Instance::AddPerInstanceObject(instance, kPPPWidgetInterface, this); |
+ instance->AddPerInstanceObject(kPPPWidgetInterface, this); |
Module::Get()->AddPluginInterface(kPPPScrollbarInterface, |
&scrollbar_interface); |
- Instance::AddPerInstanceObject(instance, kPPPScrollbarInterface, this); |
+ instance->AddPerInstanceObject(kPPPScrollbarInterface, this); |
} |
WidgetClient_Dev::~WidgetClient_Dev() { |