Index: ppapi/proxy/ppb_instance_proxy.cc |
diff --git a/ppapi/proxy/ppb_instance_proxy.cc b/ppapi/proxy/ppb_instance_proxy.cc |
index 5f0c163306a624c15b495279a352d5f0dbb66d92..c099752be001b4d38c6014ea0c26be9359e11175 100644 |
--- a/ppapi/proxy/ppb_instance_proxy.cc |
+++ b/ppapi/proxy/ppb_instance_proxy.cc |
@@ -189,7 +189,7 @@ PP_Bool PPB_Instance_Proxy::BindGraphics(PP_Instance instance, |
PP_Bool result = PP_FALSE; |
dispatcher()->Send(new PpapiHostMsg_PPBInstance_BindGraphics( |
- API_ID_PPB_INSTANCE, instance, object->host_resource(), |
+ API_ID_PPB_INSTANCE, instance, object->pp_resource(), |
&result)); |
return result; |
} |
@@ -681,12 +681,11 @@ void PPB_Instance_Proxy::OnHostMsgGetOwnerElementObject( |
} |
void PPB_Instance_Proxy::OnHostMsgBindGraphics(PP_Instance instance, |
- const HostResource& device, |
+ PP_Resource device, |
PP_Bool* result) { |
EnterInstanceNoLock enter(instance); |
if (enter.succeeded()) { |
- *result = enter.functions()->BindGraphics(instance, |
- device.host_resource()); |
+ *result = enter.functions()->BindGraphics(instance, device); |
} |
} |