Index: webkit/plugins/ppapi/ppb_flash_impl.cc |
diff --git a/webkit/plugins/ppapi/ppb_flash_impl.cc b/webkit/plugins/ppapi/ppb_flash_impl.cc |
index d88086326b986e2956e9d6dff0dd41923c18e3a4..babd3f7824e0332d7fc6792aa9ad02fb65478c03 100644 |
--- a/webkit/plugins/ppapi/ppb_flash_impl.cc |
+++ b/webkit/plugins/ppapi/ppb_flash_impl.cc |
@@ -242,8 +242,8 @@ void PPB_Flash_Impl::UpdateActivity(PP_Instance pp_instance) { |
} |
PP_Var PPB_Flash_Impl::GetDeviceID(PP_Instance pp_instance) { |
- // Not supported in-process. |
- return PP_MakeUndefined(); |
+ std::string id = instance_->delegate()->GetDeviceID(); |
+ return StringVar::StringToPPVar(id); |
} |
int32_t PPB_Flash_Impl::GetSettingInt(PP_Instance instance, |