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 06fdc5bf65cd7c401541f93361b93fcf403fe54e..e23516d6ca5e12545326ebefd67209034546fb80 100644 |
--- a/ppapi/native_client/src/trusted/plugin/browser_interface.cc |
+++ b/ppapi/native_client/src/trusted/plugin/browser_interface.cc |
@@ -49,11 +49,9 @@ void BrowserInterface::AddToConsole(pp::InstancePrivate* instance, |
module->GetBrowserInterface(PPB_VAR_INTERFACE)); |
nacl::string prefix_string("NativeClient"); |
PP_Var prefix = |
- var_interface->VarFromUtf8(module->pp_module(), |
- prefix_string.c_str(), |
+ var_interface->VarFromUtf8(prefix_string.c_str(), |
static_cast<uint32_t>(prefix_string.size())); |
- PP_Var str = var_interface->VarFromUtf8(module->pp_module(), |
- text.c_str(), |
+ 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*>( |