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

Unified Diff: ppapi/native_client/src/trusted/plugin/browser_interface.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/src/trusted/plugin/browser_interface.cc
diff --git a/ppapi/native_client/src/trusted/plugin/browser_interface.cc b/ppapi/native_client/src/trusted/plugin/browser_interface.cc
index e23516d6ca5e12545326ebefd67209034546fb80..29dc6fff3ccaa5de6548a745898fdeea79c9c4a1 100644
--- a/ppapi/native_client/src/trusted/plugin/browser_interface.cc
+++ b/ppapi/native_client/src/trusted/plugin/browser_interface.cc
@@ -45,7 +45,7 @@ void BrowserInterface::AddToConsole(pp::InstancePrivate* instance,
const nacl::string& text) {
pp::Module* module = pp::Module::Get();
const PPB_Var* var_interface =
- static_cast<const struct PPB_Var*>(
+ static_cast<const PPB_Var*>(
module->GetBrowserInterface(PPB_VAR_INTERFACE));
nacl::string prefix_string("NativeClient");
PP_Var prefix =
@@ -54,7 +54,7 @@ void BrowserInterface::AddToConsole(pp::InstancePrivate* instance,
PP_Var str = var_interface->VarFromUtf8(text.c_str(),
static_cast<uint32_t>(text.size()));
const PPB_Console_Dev* console_interface =
- static_cast<const struct PPB_Console_Dev*>(
+ static_cast<const PPB_Console_Dev*>(
module->GetBrowserInterface(PPB_CONSOLE_DEV_INTERFACE));
console_interface->LogWithSource(instance->pp_instance(),
PP_LOGLEVEL_LOG,

Powered by Google App Engine
This is Rietveld 408576698