Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2170)

Unified Diff: chrome/browser/chromeos/gview_request_interceptor.cc

Issue 5699005: Policy: Re-enabled plugin still disabled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Whitespace fixes only. Trybot happiness still applies. Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/gview_request_interceptor.cc
diff --git a/chrome/browser/chromeos/gview_request_interceptor.cc b/chrome/browser/chromeos/gview_request_interceptor.cc
index 5e5c52161e38474d17a9a38384da77817051a9cb..c6b1f9c45f224c623fa7e2d0573355b08fc4e127 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

Powered by Google App Engine
This is Rietveld 408576698