Commit 99677cea authored by Bobby Holley's avatar Bobby Holley
Browse files

Bug 1772234 - Update the style guide to deprecate rooting API typedefs. r=tcampbell

parent 7b504290
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1143,3 +1143,9 @@ been replaced with ``mozilla::Abs`` calls, in `bug
code in ``Firefox/core/toolkit`` needs to ``#include "nsAlgorithm.h"`` and
use the ``NS_foo`` variants instead of ``PR_foo``, or
``#include "mozilla/MathAlgorithms.h"`` for ``mozilla::Abs``.

Use of SpiderMonkey rooting typedefs
------------------------------------
The rooting typedefs in ``js/public/TypeDecls.h``, such as ``HandleObject`` and
``RootedObject``, are deprecated both in and outside of SpiderMonkey. They will
eventually be removed and should not be used in new code.