| Index: base/native_library_mac.mm
|
| diff --git a/base/native_library_mac.mm b/base/native_library_mac.mm
|
| index 15f9e8849cd19aff01000a929b3739bd0ebb6cde..6544fcaed99eaf644bd36da96bdd864e8bd39327 100644
|
| --- a/base/native_library_mac.mm
|
| +++ b/base/native_library_mac.mm
|
| @@ -45,8 +45,7 @@ static NativeLibraryObjCStatus GetObjCStatusForImage(
|
| NativeLibrary LoadNativeLibrary(const base::FilePath& library_path,
|
| std::string* error) {
|
| // dlopen() etc. open the file off disk.
|
| - if (library_path.Extension() == "dylib" ||
|
| - !file_util::DirectoryExists(library_path)) {
|
| + if (library_path.Extension() == "dylib" || !DirectoryExists(library_path)) {
|
| void* dylib = dlopen(library_path.value().c_str(), RTLD_LAZY);
|
| if (!dylib)
|
| return NULL;
|
|
|