Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1425)

Unified Diff: webkit/plugins/ppapi/ppb_flash_impl.cc

Issue 10342013: Generate and connect a Pepper identifier for Chrome OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup as per brettw; move to serializedreturnvar in the host msg bounce step Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698