Index: chrome/browser/renderer_host/buffered_resource_handler.cc |
diff --git a/chrome/browser/renderer_host/buffered_resource_handler.cc b/chrome/browser/renderer_host/buffered_resource_handler.cc |
index 2cccbc2857813f663766d125cfdc28b5de7885a4..05aa75fdc08b0abfa3131ca4844d64490267bd12 100644 |
--- a/chrome/browser/renderer_host/buffered_resource_handler.cc |
+++ b/chrome/browser/renderer_host/buffered_resource_handler.cc |
@@ -434,7 +434,8 @@ bool BufferedResourceHandler::ShouldDownload(bool* need_plugin_list) { |
webkit::npapi::WebPluginInfo info; |
bool allow_wildcard = false; |
return !webkit::npapi::PluginList::Singleton()->GetPluginInfo( |
- GURL(), type, allow_wildcard, &info, NULL) || !info.enabled; |
+ GURL(), type, allow_wildcard, &info, NULL) || |
+ !webkit::npapi::IsPluginEnabled(info); |
} |
void BufferedResourceHandler::UseAlternateResourceHandler( |