diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-18 22:06:22 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-18 22:06:22 +0000 |
commit | 84479325c4ccdecd2bddc2f257d436b66595aa10 (patch) | |
tree | cd91804f50e952a09f84c6bdf7f68bdb3dab4bc4 /content/ppapi_plugin | |
parent | e51eeb7307ea00ec6ef593d938a60f356e3a0882 (diff) | |
download | chromium_src-84479325c4ccdecd2bddc2f257d436b66595aa10.zip chromium_src-84479325c4ccdecd2bddc2f257d436b66595aa10.tar.gz chromium_src-84479325c4ccdecd2bddc2f257d436b66595aa10.tar.bz2 |
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
Diffstat (limited to 'content/ppapi_plugin')
-rw-r--r-- | content/ppapi_plugin/ppapi_thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc index 54215a2..70bf573f 100644 --- a/content/ppapi_plugin/ppapi_thread.cc +++ b/content/ppapi_plugin/ppapi_thread.cc @@ -71,7 +71,7 @@ std::set<PP_Instance>* PpapiThread::GetGloballySeenInstanceIDSet() { } void PpapiThread::OnMsgLoadPlugin(const FilePath& path) { - base::ScopedNativeLibrary library(base::LoadNativeLibrary(path)); + base::ScopedNativeLibrary library(base::LoadNativeLibrary(path, NULL)); if (!library.is_valid()) return; |