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

Unified Diff: ppapi/native_client/src/trusted/plugin/browser_interface.cc

Issue 8826011: Remove PP_Module from parameters for PPB_Var.VarFromUtf8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 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/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*>(

Powered by Google App Engine
This is Rietveld 408576698