]> git.pld-linux.org Git - packages/chromium-browser.git/blob - path-libpdf.patch
up to 39.0.2171.71
[packages/chromium-browser.git] / path-libpdf.patch
1 In PLD Linux, browser-plugins framework symlinks enabled plugins to plugins/ dir
2 access directly from there, instead of symlinking in google-chrome.spec
3
4 --- chromium-browser-20.0.1132.57/./src/chrome/common/chrome_paths.cc~  2012-07-13 21:13:51.000000000 +0300
5 +++ chromium-browser-20.0.1132.57/./src/chrome/common/chrome_paths.cc   2012-07-13 21:14:41.799431216 +0300
6 @@ -255,9 +255,11 @@
7        cur = cur.Append(chrome::kPepperFlashPluginFilename);
8        break;
9      case chrome::FILE_PDF_PLUGIN:
10 -      if (!GetInternalPluginsDirectory(&cur))
11 +      if (!PathService::Get(base::DIR_MODULE, &cur))
12          return false;
13 -      cur = cur.Append(kInternalPDFPluginFileName);
14 +
15 +      cur = cur.Append(FILE_PATH_LITERAL("plugins"))
16 +               .Append(kInternalPDFPluginFileName);
17        break;
18      case chrome::FILE_NACL_PLUGIN:
19        if (!GetInternalPluginsDirectory(&cur))
This page took 0.145331 seconds and 3 git commands to generate.