Bug 1025595 - Correct erroneous aWidgetType comparison, r=jimm

--HG--
extra : rebase_source : 3392632e217abe6d521bf42ef328f15acd438390
This commit is contained in:
Nochum Sossonko 2014-06-19 18:52:02 -04:00
parent b5378a6500
commit 0aa30c7d96

View File

@ -2523,7 +2523,7 @@ nsNativeThemeWin::WidgetStateChanged(nsIFrame* aFrame, uint8_t aWidgetType,
aWidgetType == NS_THEME_WINDOW_FRAME_BOTTOM || aWidgetType == NS_THEME_WINDOW_FRAME_BOTTOM ||
aWidgetType == NS_THEME_WINDOW_BUTTON_CLOSE || aWidgetType == NS_THEME_WINDOW_BUTTON_CLOSE ||
aWidgetType == NS_THEME_WINDOW_BUTTON_MINIMIZE || aWidgetType == NS_THEME_WINDOW_BUTTON_MINIMIZE ||
aWidgetType == NS_THEME_WINDOW_BUTTON_MINIMIZE || aWidgetType == NS_THEME_WINDOW_BUTTON_MAXIMIZE ||
aWidgetType == NS_THEME_WINDOW_BUTTON_RESTORE) { aWidgetType == NS_THEME_WINDOW_BUTTON_RESTORE) {
*aShouldRepaint = true; *aShouldRepaint = true;
return NS_OK; return NS_OK;