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:
Sebastian Hengst committed 2017-08-02 23:08:43 +02:00
1 parent f77deaeaff
commit 15dae2ef73
1 file changed
+2 -2
+2 -2
View File
@@ -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) {