Index: content/shell/renderer/test_runner/WebTestProxy.cpp |
diff --git a/content/shell/renderer/test_runner/WebTestProxy.cpp b/content/shell/renderer/test_runner/WebTestProxy.cpp |
index f083294a14c5873767efa57df3ee76776ece514c..70bb6b7c95a3cb49db04dc7d3f48f33985064b17 100644 |
--- a/content/shell/renderer/test_runner/WebTestProxy.cpp |
+++ b/content/shell/renderer/test_runner/WebTestProxy.cpp |
@@ -896,7 +896,7 @@ bool WebTestProxyBase::createView(WebFrame*, const WebURLRequest& request, const |
WebPlugin* WebTestProxyBase::createPlugin(WebFrame* frame, const WebPluginParams& params) |
{ |
- if (params.mimeType == TestPlugin::mimeType()) |
+ if (TestPlugin::isSupportedMimeType(params.mimeType)) |
return TestPlugin::create(frame, params, m_delegate); |
return 0; |
} |