Index: webkit/tools/test_shell/test_webview_delegate.cc |
diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc |
index f16b9aa52557a462924099c5b05b334fd7d10806..449c746349c613f0a82c4e9a6d1c9f23caaf8b3b 100644 |
--- a/webkit/tools/test_shell/test_webview_delegate.cc |
+++ b/webkit/tools/test_shell/test_webview_delegate.cc |
@@ -711,7 +711,7 @@ WebPlugin* TestWebViewDelegate::createPlugin(WebFrame* frame, |
std::string actual_mime_type; |
if (!webkit::npapi::PluginList::Singleton()->GetPluginInfo( |
params.url, params.mimeType.utf8(), allow_wildcard, &info, |
- &actual_mime_type) || !info.enabled) |
+ &actual_mime_type) || !webkit::npapi::IsPluginEnabled(info)) |
return NULL; |
return new webkit::npapi::WebPluginImpl( |