diff --git a/mozilla/layout/generic/nsContainerFrame.cpp b/mozilla/layout/generic/nsContainerFrame.cpp index 0a493306dd3..9a4336cba3e 100644 --- a/mozilla/layout/generic/nsContainerFrame.cpp +++ b/mozilla/layout/generic/nsContainerFrame.cpp @@ -585,8 +585,10 @@ SyncFrameViewGeometryDependentProperties(nsIPresContext* aPresContext, aView->GetWidget(*getter_AddRefs(widget)); if (widget) { // Enable translucency in the widget - widget->SetWindowTranslucency(PR_TRUE); - viewHasTransparentContent = PR_TRUE; + NS_WARNING("Enabling window transparency"); + // commented out, see bug #198946 + //widget->SetWindowTranslucency(PR_TRUE); + //viewHasTransparentContent = PR_TRUE; } } } diff --git a/mozilla/layout/html/base/src/nsContainerFrame.cpp b/mozilla/layout/html/base/src/nsContainerFrame.cpp index 0a493306dd3..9a4336cba3e 100644 --- a/mozilla/layout/html/base/src/nsContainerFrame.cpp +++ b/mozilla/layout/html/base/src/nsContainerFrame.cpp @@ -585,8 +585,10 @@ SyncFrameViewGeometryDependentProperties(nsIPresContext* aPresContext, aView->GetWidget(*getter_AddRefs(widget)); if (widget) { // Enable translucency in the widget - widget->SetWindowTranslucency(PR_TRUE); - viewHasTransparentContent = PR_TRUE; + NS_WARNING("Enabling window transparency"); + // commented out, see bug #198946 + //widget->SetWindowTranslucency(PR_TRUE); + //viewHasTransparentContent = PR_TRUE; } } }