mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 250782 [Xlib] make nsLookAndFeel::GetMetric return 0 if the requested metric
is unknown, like all other look and feel impls r=roland.mainz@nrubsig.org
This commit is contained in:
parent
b751c53c83
commit
567507020e
@ -306,7 +306,7 @@ NS_IMETHODIMP nsLookAndFeel::GetMetric(const nsMetricID aID, PRInt32 & aMetric)
|
||||
aMetric = 3;
|
||||
break;
|
||||
default:
|
||||
aMetric = -1;
|
||||
aMetric = 0;
|
||||
res = NS_ERROR_FAILURE;
|
||||
}
|
||||
return res;
|
||||
|
Loading…
Reference in New Issue
Block a user