Index: chrome/browser/chromeos/file_manager/open_with_browser.cc |
diff --git a/chrome/browser/chromeos/file_manager/open_with_browser.cc b/chrome/browser/chromeos/file_manager/open_with_browser.cc |
index 974b34a02d618cb655e76b522e017dbc09bb0142..7384caf32085c2db5669a969834b5fcbb8958ae0 100644 |
--- a/chrome/browser/chromeos/file_manager/open_with_browser.cc |
+++ b/chrome/browser/chromeos/file_manager/open_with_browser.cc |
@@ -21,6 +21,7 @@ |
#include "chrome/browser/ui/browser_tabstrip.h" |
#include "chrome/browser/ui/browser_window.h" |
#include "chrome/browser/ui/scoped_tabbed_browser_displayer.h" |
+#include "chrome/common/chrome_content_client.h" |
#include "chrome/common/chrome_paths.h" |
#include "chrome/common/chrome_switches.h" |
#include "content/public/browser/browser_thread.h" |
@@ -86,8 +87,8 @@ bool IsPepperPluginEnabled(Profile* profile, |
bool IsPdfPluginEnabled(Profile* profile) { |
DCHECK(profile); |
- base::FilePath plugin_path; |
- PathService::Get(chrome::FILE_PDF_PLUGIN, &plugin_path); |
+ base::FilePath plugin_path = base::FilePath::FromUTF8Unsafe( |
+ ChromeContentClient::kPDFPluginPath); |
return IsPepperPluginEnabled(profile, plugin_path); |
} |