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

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: Rebase for line-wrap. Created 8 years, 12 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: 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 35672093c7bd5c12b34d9849992b4c2b1bcb54ee..6243c89b5cfa9c0a4c44778e335743139c6170ee 100644
--- a/ppapi/native_client/tests/ppapi_example_audio/audio.cc
+++ b/ppapi/native_client/tests/ppapi_example_audio/audio.cc
@@ -150,11 +150,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