Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: Allow references to static C++ URLExtraData objects from Rust …
…UrlExtraData. Each user agent style sheet has a unique URLExtraData object containing its URL, but since they are refcounted objects, we can't share them easily across processes. Rather than adding support for copying them into a shared memory buffer like we will do with the Rust objects, here we just set up a static array of URLExtraData objects per UA style sheet. The array will be filled in in a later patch. Rust UrlExtraData objects, once they are transformed into their sharable form and copied into the shared memory buffer, will reference them by an index. Differential Revision: https://phabricator.services.mozilla.com/D17182
- Loading branch information
Showing
1 changed file
with
72 additions
and
11 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