зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1098185
- Initialize some more fields in ShadowLayerForwarder when Valgrind is enabled. r=mattwoodrow.
--HG-- extra : rebase_source : 0063948d7a657421005535c8faad68e69b1a5fcf
This commit is contained in:
Родитель
5d1c019808
Коммит
35cc9a57cf
|
@ -610,6 +610,14 @@ ShadowLayerForwarder::EndTransaction(InfallibleTArray<EditReply>* aReplies,
|
|||
common.stickyScrollContainerId() = mutant->GetStickyScrollContainerId();
|
||||
common.stickyScrollRangeOuter() = mutant->GetStickyScrollRangeOuter();
|
||||
common.stickyScrollRangeInner() = mutant->GetStickyScrollRangeInner();
|
||||
} else {
|
||||
#ifdef MOZ_VALGRIND
|
||||
// Initialize these so that Valgrind doesn't complain when we send them
|
||||
// to another process.
|
||||
common.stickyScrollContainerId() = 0;
|
||||
common.stickyScrollRangeOuter() = LayerRect();
|
||||
common.stickyScrollRangeInner() = LayerRect();
|
||||
#endif
|
||||
}
|
||||
common.scrollbarTargetContainerId() = mutant->GetScrollbarTargetContainerId();
|
||||
common.scrollbarDirection() = mutant->GetScrollbarDirection();
|
||||
|
|
Загрузка…
Ссылка в новой задаче