diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-16 03:30:13 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-16 03:30:13 +0000 |
commit | 49211b31dfda9a2a9184e2139dc0c6472f6adf39 (patch) | |
tree | ba8deaf941ea157275f12742a1b324387d6dd33f /chrome/common/chrome_paths.cc | |
parent | 4bdde60b8a5e2a37d59318566708a8549f39b3f8 (diff) | |
download | chromium_src-49211b31dfda9a2a9184e2139dc0c6472f6adf39.zip chromium_src-49211b31dfda9a2a9184e2139dc0c6472f6adf39.tar.gz chromium_src-49211b31dfda9a2a9184e2139dc0c6472f6adf39.tar.bz2 |
Don't check if the internal plugin exists when someone just asks for its path, as that'll fail in the sandbox and we don't care about the result then.
Review URL: http://codereview.chromium.org/2799009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49896 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths.cc')
-rw-r--r-- | chrome/common/chrome_paths.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc index bc95d9a..9dca7e0 100644 --- a/chrome/common/chrome_paths.cc +++ b/chrome/common/chrome_paths.cc @@ -248,8 +248,6 @@ bool PathProvider(int key, FilePath* result) { #else // Linux and Chrome OS cur = cur.Append(FILE_PATH_LITERAL("libpdf.so")); #endif - if (!file_util::PathExists(cur)) - return false; break; case chrome::FILE_RESOURCES_PACK: if (!PathService::Get(base::DIR_EXE, &cur)) |