summaryrefslogtreecommitdiffstats
path: root/mojo/examples/pepper_container_app/plugin_module.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/examples/pepper_container_app/plugin_module.cc')
-rw-r--r--mojo/examples/pepper_container_app/plugin_module.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/mojo/examples/pepper_container_app/plugin_module.cc b/mojo/examples/pepper_container_app/plugin_module.cc
index 9ec26aa..d09d42d 100644
--- a/mojo/examples/pepper_container_app/plugin_module.cc
+++ b/mojo/examples/pepper_container_app/plugin_module.cc
@@ -69,13 +69,12 @@ void PluginModule::Initialize() {
base::FilePath plugin_path(plugin_name);
- std::string error;
- plugin_module_.Reset(
- base::LoadNativeLibrary(plugin_path, &error));
+ base::NativeLibraryLoadError error;
+ plugin_module_.Reset(base::LoadNativeLibrary(plugin_path, &error));
if (!plugin_module_.is_valid()) {
LOG(WARNING) << "Cannot load " << plugin_path.AsUTF8Unsafe()
- << ". Error: " << error;
+ << ". Error: " << error.ToString();
return;
}