Bug 530652 - Some sites not render flash. Fixing mistake introduced in last push r=biesinger
authorDoug Turner <dougt@dougt.org>
Mon, 30 Nov 2009 09:09:26 -0800
changeset 35282 2bae3bbf866e7de2a4b2377e7c2f52cc9ac14a22
parent 35281 16b7c8b2bcc9179f0f0225372a83e32c44b4dd61
child 35283 2a908f5568cd705fd5b59b9e4dcbd7a3d1396042
child 35384 29283143bb0d2152a9c4f09ffbcae71ae78dc88d
child 36115 5e9d96f3be1c5bd1b61647c39b8acf08d0e9f12c
push idunknown
push userunknown
push dateunknown
reviewersbiesinger
bugs530652
milestone1.9.3a1pre
Bug 530652 - Some sites not render flash. Fixing mistake introduced in last push r=biesinger
layout/generic/nsObjectFrame.cpp
--- a/layout/generic/nsObjectFrame.cpp
+++ b/layout/generic/nsObjectFrame.cpp
@@ -5789,14 +5789,14 @@ nsPluginInstanceOwner::SetAbsoluteScreen
   UpdateVisibility();
 
   if (!mInstance)
     return NS_OK;
 
   PRBool simpleImageRender = PR_FALSE;
   mInstance->GetValueFromPlugin(NPPVpluginWindowlessLocalBool,
                                 &simpleImageRender);
-  if (mInstance)
+  if (simpleImageRender)
     NativeImageDraw();
   return NS_OK;
 }
 #endif