Index: chrome/browser/printing/print_preview_dialog_controller.cc |
diff --git a/chrome/browser/printing/print_preview_dialog_controller.cc b/chrome/browser/printing/print_preview_dialog_controller.cc |
index 1075f61ad69c8eee5c7be1c1e55a91278903ac22..ad996d32bce4f6e9c9c4c5d7f90ed057a02cd20d 100644 |
--- a/chrome/browser/printing/print_preview_dialog_controller.cc |
+++ b/chrome/browser/printing/print_preview_dialog_controller.cc |
@@ -52,9 +52,8 @@ namespace { |
void EnableInternalPDFPluginForContents(WebContents* preview_dialog) { |
// Always enable the internal PDF plugin for the print preview page. |
- base::FilePath pdf_plugin_path; |
- if (!PathService::Get(chrome::FILE_PDF_PLUGIN, &pdf_plugin_path)) |
- return; |
+ base::FilePath pdf_plugin_path = base::FilePath::FromUTF8Unsafe( |
+ ChromeContentClient::kPDFPluginPath); |
content::WebPluginInfo pdf_plugin; |
if (!content::PluginService::GetInstance()->GetPluginInfoByPath( |