From 84479325c4ccdecd2bddc2f257d436b66595aa10 Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Mon, 18 Apr 2011 22:06:22 +0000 Subject: linux: don't always print dlopen errors from LoadNativeLibrary Instead, return them to the caller and let the caller decide whether the error is worth notifying the user about. BUG=79068 Review URL: http://codereview.chromium.org/6864020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82008 0039d316-1c4b-4281-b951-d872f2087c98 --- crypto/nss_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/nss_util.cc') diff --git a/crypto/nss_util.cc b/crypto/nss_util.cc index 976a5e3..198a692 100644 --- a/crypto/nss_util.cc +++ b/crypto/nss_util.cc @@ -611,7 +611,7 @@ void LoadNSSLibraries() { for (size_t i = 0; i < libs.size(); ++i) { for (size_t j = 0; j < paths.size(); ++j) { FilePath path = paths[j].Append(libs[i]); - base::NativeLibrary lib = base::LoadNativeLibrary(path); + base::NativeLibrary lib = base::LoadNativeLibrary(path, NULL); if (lib) { ++loaded; break; -- cgit v1.1