| Index: mojo/examples/pepper_container_app/plugin_module.cc
|
| diff --git a/mojo/examples/pepper_container_app/plugin_module.cc b/mojo/examples/pepper_container_app/plugin_module.cc
|
| index 9ec26aa4aa4d0b91d51e0fe175be20a7d498fc87..d09d42d36d4e24941e964caf7e11a6ee013593e7 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;
|
| }
|
|
|
|
|