mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Backed out changeset ecbeb9354c24 (bug 1383386) for mass-asserting at gfx/layers/ipc/CompositorBridgeChild.cpp:264. r=backout on a CLOSED TREE
This commit is contained in:
parent
6804701dfc
commit
c9ff8ee666
@ -9294,8 +9294,8 @@ static void UpdateDisplayPortMarginsForPendingMetrics(FrameMetrics& aMetrics) {
|
||||
/* static */ void
|
||||
nsLayoutUtils::UpdateDisplayPortMarginsFromPendingMessages()
|
||||
{
|
||||
if (mozilla::layers::CompositorBridgeChild::Get() &&
|
||||
mozilla::layers::CompositorBridgeChild::Get()->GetIPCChannel()) {
|
||||
if (mozilla::dom::ContentChild::GetSingleton() &&
|
||||
mozilla::dom::ContentChild::GetSingleton()->GetIPCChannel()) {
|
||||
CompositorBridgeChild::Get()->GetIPCChannel()->PeekMessages(
|
||||
[](const IPC::Message& aMsg) -> bool {
|
||||
if (aMsg.type() == mozilla::layers::PAPZ::Msg_RequestContentRepaint__ID) {
|
||||
|
Loading…
Reference in New Issue
Block a user