From cc0839ce130e933138d7b5eaf603dc24d3c99ae6 Mon Sep 17 00:00:00 2001 From: Margaret Leibovic Date: Tue, 24 Jan 2012 17:24:41 -0800 Subject: [PATCH] Bug 719860 - Full screen plugins don't work with click to play enabled. r=jst --- layout/build/nsContentDLF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/build/nsContentDLF.cpp b/layout/build/nsContentDLF.cpp index 1e25531a130d..b88818ee8538 100644 --- a/layout/build/nsContentDLF.cpp +++ b/layout/build/nsContentDLF.cpp @@ -310,7 +310,7 @@ nsContentDLF::CreateInstance(const char* aCommand, nsCOMPtr pluginHostCOM(do_GetService(MOZ_PLUGIN_HOST_CONTRACTID)); nsPluginHost *pluginHost = static_cast(pluginHostCOM.get()); if(pluginHost && - NS_SUCCEEDED(pluginHost->IsPluginEnabledForType(aContentType))) { + NS_SUCCEEDED(pluginHost->IsPluginEnabledForType(aContentType, true))) { return CreateDocument(aCommand, aChannel, aLoadGroup, aContainer, kPluginDocumentCID,