]> git.pld-linux.org Git - packages/chromium-browser.git/blobdiff - master-prefs-path.patch
up to 49.0.2623.110
[packages/chromium-browser.git] / master-prefs-path.patch
index 298613f23cfd40e4e80f64e2c91d408dfff1303c..40b66182c3561e078b429c8c9fb391c97fe629ae 100644 (file)
@@ -1,14 +1,12 @@
-Index: chromium/src/chrome/browser/first_run/first_run_linux.cc
-===================================================================
---- chromium.orig/src/chrome/browser/first_run/first_run_linux.cc
-+++ chromium/src/chrome/browser/first_run/first_run_linux.cc
-@@ -100,8 +100,7 @@ void AutoImport(
- FilePath MasterPrefsPath() {
+--- chromium-browser-26.0.1410.12/src/chrome/browser/first_run/first_run_internal_linux.cc~    2013-02-21 12:11:48.000000000 +0200
++++ chromium-browser-26.0.1410.12/src/chrome/browser/first_run/first_run_internal_linux.cc     2013-02-25 16:00:59.000031225 +0200
+@@ -71,8 +71,7 @@
+ base::FilePath MasterPrefsPath() {
    // The standard location of the master prefs is next to the chrome binary.
-   FilePath master_prefs;
+   base::FilePath master_prefs;
 -  if (!PathService::Get(base::DIR_EXE, &master_prefs))
--    return FilePath();
-+  master_prefs = FilePath("/etc/chromium-browser");
+-    return base::FilePath();
++  master_prefs = base::FilePath("/etc/chromium-browser");
    return master_prefs.AppendASCII(installer::kDefaultMasterPrefs);
  }
  
This page took 0.039822 seconds and 4 git commands to generate.