mfbt/STYLE
author Alex Gaynor <agaynor@mozilla.com>
Wed, 12 Sep 2018 00:17:10 +0000
changeset 435968 a66a85285cb09523916bc95e30a42056b798e935
parent 331732 89b895c219f2b97fc0ded8877b30c337e697bdaa
child 495487 0fd41e9dbd2a56e544d6b836e066fbbbd9f78b84
permissions -rw-r--r--
Bug 1490415 - prevent creating a GPUVideoTextureHost with a null wrapped texture; r=sotaro Differential Revision: https://phabricator.services.mozilla.com/D5563

MFBT uses standard Mozilla style, with the following exceptions.

- Some of the files use a lower-case letter at the start of function names.
  This is because MFBT used to use a different style, and was later converted
  to standard Mozilla style. These functions have not been changed to use an
  upper-case letter because it would cause a lot of churn in other parts of the
  codebase. However, new files should follow standard Mozilla style and use an
  upper-case letter at the start of function names.

- Imported third-party code (such as decimal/*, double-conversion/source/*, and
  lz4*) remains in its original style.