Index: content/child/npapi/webplugin_delegate_impl.cc |
=================================================================== |
--- content/child/npapi/webplugin_delegate_impl.cc (revision 248564) |
+++ content/child/npapi/webplugin_delegate_impl.cc (working copy) |
@@ -52,8 +52,10 @@ |
const std::vector<std::string>& arg_names, |
const std::vector<std::string>& arg_values, |
bool load_manually) { |
- if (instance_->mime_type() == "video/quicktime") |
+ if (instance_->plugin_lib()->plugin_info().name.find( |
+ base::ASCIIToUTF16("QuickTime Plug-in")) != std::wstring::npos) { |
quirks_ |= PLUGIN_QUIRK_COPY_STREAM_DATA; |
+ } |
instance_->set_web_plugin(plugin_); |
if (quirks_ & PLUGIN_QUIRK_DONT_ALLOW_MULTIPLE_INSTANCES) { |