Fix plugin enabled check in ShouldDownload (issue #227).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@225 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
e0210a78b4
commit
bc438a5022
|
@ -194,7 +194,8 @@ bool ShouldDownload(const std::string& content_disposition,
|
|||
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);
|
||||
}
|
||||
|
||||
} // namespace webkit_glue
|
||||
|
|
Loading…
Reference in New Issue