Bug 1922333 - Land view transition plumbing for live capture behind a default-off pref. r=view-transitions-reviewers,boris
It is mostly working, but there are some tests that hit crashes and asserts that we should sort out. For now, land it default-off. This does implement other bits that are on by default tho, like creating image frames for ::view-transition-new() pseudo-elements and so on. I think that is fine (it's just that for now they are all transparent). Differential Revision: https://phabricator.services.mozilla.com/D239382
This commit is contained in:
@@ -113,9 +113,10 @@ template struct mozilla::wr::Box2D<int, mozilla::wr::LayoutPixel>;
|
||||
namespace mozilla {
|
||||
namespace wr {
|
||||
|
||||
// Cast a blob image key into a regular image for use in
|
||||
// a display item.
|
||||
// Cast a blob image key into a regular image for use in a display item.
|
||||
inline ImageKey AsImageKey(BlobImageKey aKey) { return aKey._0; }
|
||||
// Cast a snapshot image key into a regular image for use in a display item.
|
||||
inline ImageKey AsImageKey(SnapshotImageKey aKey) { return aKey._0; }
|
||||
|
||||
} // namespace wr
|
||||
} // namespace mozilla
|
||||
|
||||
Reference in New Issue
Block a user