-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick part of an upstream commit to fix a build failure with ne…
…wer versions of cbindgen.
- Loading branch information
Olivier Tilloy
committed
Jun 8, 2022
1 parent
35d4305
commit a24fb4a
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Description: Remove an extra constant definition that is now being generated by newer versions of cbindgen (0.24), and causing build failures because it is defined in several places. | ||
Author: Olivier Tilloy <olivier.tilloy@canonical.com> | ||
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1773259 | ||
Forwarded: not-needed | ||
|
||
--- a/gfx/webrender_bindings/webrender_ffi.h | ||
+++ b/gfx/webrender_bindings/webrender_ffi.h | ||
@@ -73,8 +73,6 @@ struct WrPipelineInfo; | ||
struct WrPipelineIdAndEpoch; | ||
using WrPipelineIdEpochs = nsTArray<WrPipelineIdAndEpoch>; | ||
|
||
-const uint64_t ROOT_CLIP_CHAIN = ~0; | ||
- | ||
} // namespace wr | ||
} // namespace mozilla | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters