gecko-dev/gfx
Nathan Froyd bec9f9b93a Bug 1223932 - delete guard object uses from the tree; r=jwalden
We don't need these macros anymore, for two reasons:

1. We have static analysis to provide the same sort of checks via `MOZ_RAII`
   and friends.
2. clang now warns for the "temporary that should have been a declaration" case.

The extra requirements on class construction also show up during debug tests
as performance problems.

This change was automated by using the following sed script:

```
# Remove declarations in classes.
/MOZ_DECL_USE_GUARD_OBJECT_NOTIFIER/d
/MOZ_GUARD_OBJECT_NOTIFIER_INIT/d

# Remove individual macros, carefully.
{
  # We don't have to worry about substrings here because the closing
  # parenthesis "anchors" the match.
  s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM)/)/g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM_TO_PARENT)/)/g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM_IN_IMPL)/)/g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM_IN_IMPL)/)/g;

  # Remove the longer identifier first.
  s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM_TO_PARENT//g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM//g;
}

# Remove the actual include.
\@# *include "mozilla/GuardObjects.h"@d
```

and running:

```
find . -name \*.cpp -o -name \*.h | grep -v 'GuardObjects.h' |xargs sed -i -f script 2>/dev/null
mach clang-format
```

Differential Revision: https://phabricator.services.mozilla.com/D85168
2020-07-30 14:22:38 +00:00
..
2d Bug 1648955 - Stop process changing loads in inactive subframes, r=mattwoodrow,annyG 2020-07-24 22:19:38 +00:00
angle Bug 1635293 - Cherry-pick ANGLE fix: Update tex cache even if new type is InvalidEnum. r=lsalzman 2020-06-15 22:07:44 +00:00
cairo Bug 1635273 - Make FT_LCD_FILTER_H a relative rather than absolute path. r=froydnj 2020-06-18 13:40:40 +00:00
config Bug 1650748 - Prevent DMABUF usage with GLX. r=nical 2020-07-22 18:58:11 +00:00
docs Bug 1622360 - Remove the RenderRoot enum entirely, along with the feature docs. r=jrmuizel 2020-05-15 00:07:01 +00:00
gl Bug 1652972 - Mark EGL context as lost on Shutdown() r=aosmond 2020-07-29 02:33:54 +00:00
graphite2
harfbuzz Bug 1650414 - Cherry-pick commit 1e6027e29cd5d900337b23a20886b2a8d81bb2de from upstream harfbuzz to fix AAT mark anchoring. r=lsalzman 2020-07-06 09:03:29 +00:00
ipc Bug 1607940 - Stand up webgl.out-of-process:true path. r=handyman,nika,froydnj 2020-07-21 22:56:52 +00:00
layers Bug 1223932 - delete guard object uses from the tree; r=jwalden 2020-07-30 14:22:38 +00:00
ots Bug 1639813 - Update OTS to upstream commit 6300460f76dbf1554a59dc1f20f52d5c2f5641e6 to clean up weird PSname that makes Core Text fail. r=lsalzman 2020-05-21 17:20:48 +00:00
qcms
sfntly
skia Bug 1645123 - avoid trapping instructions on Skia debug asserts. r=jrmuizel 2020-07-16 19:56:29 +00:00
src Bug 1653193 - Hide complex template instance PrimitiveAttributes. r=mstange 2020-07-21 08:39:35 +00:00
tests Bug 1650990 - Add the provided test case as a crashtest. r=kats 2020-07-20 13:03:41 +00:00
thebes Bug 1655364 - Rename gfxShapedText::SetGlyphs to SetDetailedGlyphs and make it just set glyph information, not clobber character-type flags. r=heycam 2020-07-30 11:48:06 +00:00
vr Bug 1654088, make WindowWatcher methods to use CStrings and not char and make window.open throw the correct exception, r=farre,geckoview-reviewers,agi* 2020-07-27 21:36:24 +00:00
webrender_bindings Bug 1223932 - delete guard object uses from the tree; r=jwalden 2020-07-30 14:22:38 +00:00
wgpu Bug 1653161 - Implement Queue.writeBuffer and writeTexture in WebGPU r=jgilbert,webidl,smaug 2020-07-28 22:26:21 +00:00
wgpu_bindings Bug 1653161 - Implement Queue.writeBuffer and writeTexture in WebGPU r=jgilbert,webidl,smaug 2020-07-28 22:26:21 +00:00
wr Bug 1484047 - Fix glitching of offset value. r=gw 2020-07-30 09:46:07 +00:00
ycbcr Bug 1639409 - AVIF (AV1 Image File Format): decode with dav1d. r=aosmond 2020-05-22 19:00:17 +00:00
moz.build Bug 1639349 - [ci] Set up a SCHEDULES rule to exclude non-webrender tests on webrender-only pushes, r=gbrown 2020-05-22 14:03:46 +00:00