mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1744088 - Remove unused NotifyShadowTreeTransaction. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D132715
This commit is contained in:
parent
607cdf0ada
commit
c116b8b387
@ -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) {
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user