summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/platform_util_linux.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/platform_util_linux.cc b/chrome/common/platform_util_linux.cc
index b13033c..7a4e92b 100644
--- a/chrome/common/platform_util_linux.cc
+++ b/chrome/common/platform_util_linux.cc
@@ -18,8 +18,10 @@ void XDGOpen(const FilePath& path) {
argv.push_back("xdg-open");
argv.push_back(path.value());
base::file_handle_mapping_vector no_files;
+ base::environment_vector env;
+ env.push_back(std::make_pair("GTK_PATH", getenv("CHROMIUM_SAVED_GTK_PATH")));
base::ProcessHandle handle;
- if (base::LaunchApp(argv, no_files, false, &handle))
+ if (base::LaunchApp(argv, env, no_files, false, &handle))
ProcessWatcher::EnsureProcessGetsReaped(handle);
}