FAST_DIVIDE_BY_255 was defined in nsColor.h but only used in nsColor.cpp.
Differential Revision: https://phabricator.services.mozilla.com/D20262
--HG--
extra : source : f41b6d89c97e28400d18226ac47d97f4d8772f6b
extra : intermediate-source : 6cc308158076ae86b6e7c5356ee71189ea9b883b
extra : histedit_source : b4de73d30ec2e86dbed261d6eb7c6d71473a78b1
clang's -Wmissing-prototypes option identifies global functions that can be made static (because they're only called from one compilation unit) or removed (if they're never called).
CreateDefaultTarget()
NS_HSL2RGB()
widget/headless/HeadlessWidget.cpp:49:30 [-Wmissing-prototypes] no previous prototype for function 'CreateDefaultTarget'
Differential Revision: https://phabricator.services.mozilla.com/D20261
--HG--
extra : source : a29eddfba667549cbd700301303ed7eb210406c0
extra : intermediate-source : a56c22df3af6061979bd48eafd1e2ee7ed4a192f
extra : histedit_source : 65fb5786f342efba9ac619292bff62253787502c
Move from nsStyleColor::CalcComplexColor to StyleComplexColor::CalcColor.
MozReview-Commit-ID: FkYovvPZLc8
--HG--
extra : rebase_source : 54f1966e0ef9258f20e954cd6250774008eca04c
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py
For every file that is modified in this patch, the changes are as follows:
(1) The patch changes the file to use the exact C++ mode lines from the
Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line
(2) The patch deletes any blank lines between the mode line & the MPL
boilerplate comment.
(3) If the file previously had the mode lines and MPL boilerplate in a
single contiguous C++ comment, then the patch splits them into
separate C++ comments, to match the boilerplate in the coding style.
MozReview-Commit-ID: 77D61xpSmIl
--HG--
extra : rebase_source : c6162fa3cf539a07177a19838324bf368faa162b
We should not be declaring forward declarations for nsString classes directly,
instead we should use nsStringFwd.h. This will make changing the underlying
types easier.
--HG--
extra : rebase_source : b2c7554e8632f078167ff2f609392e63a136c299
This patch tells all callers to use the existing behavior, so it is
intended not to change behavior. Callers that will be modified in later
patches are marked with "FIXME" comments that will be removed in those
later patches (patches 3 and 4).
MozReview-Commit-ID: FaLryfxaeHv