Turn on native theme for HTML content on Mac OS X. Bugs remain, but this way we'll get better test coverage and move forward more quickly. Should we discover too many issues for Gecko 1.9a5, we'll flip it back off until 1.9a6. b=175279 sr=roc a=mconnor

This commit is contained in:
joshmoz@gmail.com 2007-05-22 13:24:28 -07:00
parent 9b3f288aee
commit 63bdcf0529

View File

@ -1283,12 +1283,6 @@ PRBool
nsNativeThemeCocoa::ThemeSupportsWidget(nsPresContext* aPresContext, nsIFrame* aFrame,
PRUint8 aWidgetType)
{
#ifndef MOZ_MACBROWSER
// Only support HTML widgets in Camino builds
if (aFrame && aFrame->GetContent()->IsNodeOfType(nsINode::eHTML))
return PR_FALSE;
#endif
if (aPresContext && !aPresContext->PresShell()->IsThemeSupportEnabled())
return PR_FALSE;