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

Unified Diff: Source/testing/runner/WebTestProxy.cpp

Issue 23618022: BrowserPlugin/WebView - Move plugin lifetime to DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix mac compile issue. Created 7 years 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
Index: Source/testing/runner/WebTestProxy.cpp
diff --git a/Source/testing/runner/WebTestProxy.cpp b/Source/testing/runner/WebTestProxy.cpp
index 871bcdaefadff5702a6a6666178a3289b3e7f522..bc7695c303610f0b8a92fe8eea54249b5c9f0938 100644
--- a/Source/testing/runner/WebTestProxy.cpp
+++ b/Source/testing/runner/WebTestProxy.cpp
@@ -923,7 +923,7 @@ bool WebTestProxyBase::createView(WebFrame*, const WebURLRequest& request, const
WebPlugin* WebTestProxyBase::createPlugin(WebFrame* frame, const WebPluginParams& params)
{
- if (params.mimeType == TestPlugin::mimeType())
+ if (params.mimeType.utf8().find(TestPlugin::mimeType().utf8(), 0) != std::string::npos)
eseidel 2013/12/18 18:38:18 TestPlugin::isSupportedMimeType(params.mimeType) w
wjmaclean 2013/12/23 23:49:53 Done.
return TestPlugin::create(frame, params, m_delegate);
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698