Bug 1744088 - Remove unused NotifyShadowTreeTransaction. r=gfx-reviewers,bradwerth

Differential Revision: https://phabricator.services.mozilla.com/D132715
This commit is contained in:
Jeff Muizelaar 2021-12-02 20:30:28 +00:00
parent 607cdf0ada
commit c116b8b387
2 changed files with 0 additions and 16 deletions

View File

@ -675,15 +675,6 @@ void CompositorBridgeParent::ResumeCompositionAndResize(int x, int y, int width,
ResumeComposition();
}
void CompositorBridgeParent::NotifyShadowTreeTransaction(
LayersId aId, bool aIsFirstPaint, const FocusTarget& aFocusTarget,
bool aScheduleComposite, uint32_t aPaintSequenceNumber,
bool aIsRepeatTransaction, bool aHitTestUpdate) {
if (aScheduleComposite) {
ScheduleComposition(wr::RenderReasons::OTHER);
}
}
void CompositorBridgeParent::ScheduleComposition(wr::RenderReasons aReasons) {
MOZ_ASSERT(CompositorThreadHolder::IsInCompositorThread());
if (mPaused) {

View File

@ -413,13 +413,6 @@ class CompositorBridgeParent final : public CompositorBridgeParentBase,
void ScheduleComposition(wr::RenderReasons aReasons);
void NotifyShadowTreeTransaction(LayersId aId, bool aIsFirstPaint,
const FocusTarget& aFocusTarget,
bool aScheduleComposite,
uint32_t aPaintSequenceNumber,
bool aIsRepeatTransaction,
bool aHitTestUpdate);
/**
* Check rotation info and schedule a rendering task if needed.
* Only can be called from compositor thread.