summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/gview_request_interceptor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/gview_request_interceptor.cc')
-rw-r--r--chrome/browser/chromeos/gview_request_interceptor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/gview_request_interceptor.cc b/chrome/browser/chromeos/gview_request_interceptor.cc
index 5e5c521..c6b1f9c 100644
--- a/chrome/browser/chromeos/gview_request_interceptor.cc
+++ b/chrome/browser/chromeos/gview_request_interceptor.cc
@@ -67,7 +67,7 @@ net::URLRequestJob* GViewRequestInterceptor::MaybeInterceptResponse(
PathService::Get(chrome::FILE_PDF_PLUGIN, &pdf_path);
if (webkit::npapi::PluginList::Singleton()->GetPluginInfoByPath(
pdf_path, &info) &&
- info.enabled)
+ webkit::npapi::IsPluginEnabled(info))
return NULL;
}
// If supported, build the URL to the Google Document Viewer