mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
9b3f288aee
commit
63bdcf0529
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user