зеркало из https://github.com/mozilla/gecko-dev.git
9a60f77d80
The cleanup work includes: part 1: make all methods 'const' for the abstract class of PropertyProvider. part 2: make nsFontMetrics's StubPropertyProvider final. part 3: make nsTextFrame's PropertyProvider final. Make some methods 'const' and some variables 'mutable', so we could let all the overridden methods stay const. We also need to make the pass-in parameter of gfxFontGroup's GetHyphenWidth const. Note that the comment of GetHyphenWidth seem outdated, so I fixed it as well. part 4: make the member variables in nsTextFrame's PropertyProvider to be 'const'. Make all the member variables 'const' except mStart, mLength, mJustificationArrayStart, and mJustificationSpacings. The static function AdvanceToNextTab is fixed since we only use 2 of the 4 parameters. part 5: coding style fix for nsTextFrame's PropertyProvider. MozReview-Commit-ID: 1kbWPwx27aQ |
||
---|---|---|
.. | ||
2d | ||
angle | ||
cairo | ||
config | ||
doc | ||
docs | ||
gl | ||
graphite2 | ||
harfbuzz | ||
ipc | ||
layers | ||
ots | ||
qcms | ||
sfntly | ||
skia | ||
src | ||
tests | ||
thebes | ||
vr | ||
webrender | ||
webrender_bindings | ||
webrender_traits | ||
ycbcr | ||
moz.build |