Index: content/renderer/pepper/pepper_plugin_instance_impl.cc |
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
index 5b174570e571abdc77a4842e00f10dab9ee9c2c6..7706d1ba495e4347357c78a22a2777b4c6688e9d 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -2120,6 +2120,9 @@ void PepperPluginInstanceImpl::UpdateLayer(bool force_creation) { |
} else { |
container_->setWebLayer(web_layer_.get()); |
} |
+ if (is_flash_plugin_) { |
+ web_layer_->ccLayer()->SetMayContainVideo(true); |
+ } |
} |
layer_bound_to_fullscreen_ = !!fullscreen_container_; |