| Index: ppapi/cpp/instance.cc
|
| ===================================================================
|
| --- ppapi/cpp/instance.cc (revision 77426)
|
| +++ ppapi/cpp/instance.cc (working copy)
|
| @@ -61,6 +61,10 @@
|
| return false;
|
| }
|
|
|
| +void Instance::HandleMessage(const Var& /*message_data*/) {
|
| + return;
|
| +}
|
| +
|
| Var Instance::GetInstanceObject() {
|
| return Var();
|
| }
|
| @@ -115,6 +119,12 @@
|
| Var::OutException(exception).get()));
|
| }
|
|
|
| +void Instance::PostMessage(const Var& message) {
|
| + if (!has_interface<PPB_Instance>())
|
| + return;
|
| + get_interface<PPB_Instance>()->PostMessage(pp_instance(), message.pp_var());
|
| +}
|
| +
|
| void Instance::AddPerInstanceObject(const std::string& interface_name,
|
| void* object) {
|
| // Ensure we're not trying to register more than one object per interface
|
|
|