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

Unified Diff: content/shell/renderer/test_runner/WebTestProxy.cpp

Issue 105633011: BrowserPlugin/WebView - Move plugin lifetime to DOM - The Prequel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove use of npobject. Created 6 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
« no previous file with comments | « content/shell/renderer/test_runner/WebFrameTestProxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « content/shell/renderer/test_runner/WebFrameTestProxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698