Bug 1931617 Part 2 - Remove mentions of Algorithm.h where it's no longer used r=emilio,application-update-reviewers,bytesized

Differential Revision: https://phabricator.services.mozilla.com/D229205
This commit is contained in:
longsonr
2024-11-19 08:26:38 +00:00
parent 2ace8cf7cb
commit 2431f88b47
4 changed files with 4 additions and 8 deletions

View File

@@ -1152,8 +1152,8 @@ Use the standard-library functions (``std::max``), instead of
Use ``mozilla::Abs`` instead of ``PR_ABS``. All ``PR_ABS`` calls in C++ code have
been replaced with ``mozilla::Abs`` calls, in `bug
847480 <https://bugzilla.mozilla.org/show_bug.cgi?id=847480>`__. All new
code in ``Firefox/core/toolkit`` needs to ``#include "nsAlgorithm.h"`` and
use the ``NS_foo`` variants instead of ``PR_foo``, or
code in ``Firefox/core/toolkit`` needs to use the ``NS_foo`` variants
instead of ``PR_foo``, or
``#include "mozilla/MathAlgorithms.h"`` for ``mozilla::Abs``.
Use of SpiderMonkey rooting typedefs