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

Unified Diff: ppapi/native_client/tests/ppapi_example_audio/audio.cc

Issue 8989006: Update PPAPI IDL generator to define versioned structs, and unversioned typedef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update native_client_sdk/.../hello_world_c example for definition changes. Created 9 years 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: ppapi/native_client/tests/ppapi_example_audio/audio.cc
diff --git a/ppapi/native_client/tests/ppapi_example_audio/audio.cc b/ppapi/native_client/tests/ppapi_example_audio/audio.cc
index a9b5ac0450b10f36769be35299a7a59e563f41fd..e8dbd805799074f0201bfb7b41e9f047e987670b 100644
--- a/ppapi/native_client/tests/ppapi_example_audio/audio.cc
+++ b/ppapi/native_client/tests/ppapi_example_audio/audio.cc
@@ -151,11 +151,11 @@ class MyInstance : public pp::Instance {
// Note: This is test code and is not normally needed for an application.
PPB_GetInterface get_browser_interface =
pp::Module::Get()->get_browser_interface();
- const struct PPB_AudioConfig* audio_config_interface =
- static_cast<const struct PPB_AudioConfig*>(
+ const PPB_AudioConfig* audio_config_interface =
+ static_cast<const PPB_AudioConfig*>(
get_browser_interface(PPB_AUDIO_CONFIG_INTERFACE));
- const struct PPB_Audio* audio_interface =
- static_cast<const struct PPB_Audio*>(
+ const PPB_Audio* audio_interface =
+ static_cast<const PPB_Audio*>(
get_browser_interface(PPB_AUDIO_INTERFACE));
PP_Resource audio_config_resource = config_->pp_resource();
PP_Resource audio_resource = audio_->pp_resource();

Powered by Google App Engine
This is Rietveld 408576698