Index: base/native_library_linux.cc |
diff --git a/base/native_library_linux.cc b/base/native_library_linux.cc |
index 2e5db88633981114cbddc78744263cbaff98b785..05050bdcf036d4f08a6d857a16cfca8929e125c4 100644 |
--- a/base/native_library_linux.cc |
+++ b/base/native_library_linux.cc |
@@ -16,14 +16,8 @@ namespace base { |
NativeLibrary LoadNativeLibrary(const FilePath& library_path) { |
void* dl = dlopen(library_path.value().c_str(), RTLD_LAZY); |
if (!dl) { |
- std::string error_message = dlerror(); |
- // Some obsolete plugins depend on libxul or libxpcom. |
- // Ignore the error messages when failing to load these. |
- if (error_message.find("libxul.so") == std::string::npos && |
- error_message.find("libxpcom.so") == std::string::npos) { |
- LOG(ERROR) << "dlopen failed when trying to open " << library_path.value() |
- << ": " << error_message; |
- } |
+ LOG(ERROR) << "dlopen failed when trying to open " << library_path.value() |
+ << ": " << dlerror(); |
} |
return dl; |