Bug 1262432 - Remove assertion that may be legitimately false sometimes. r=tnikkel
authorKartikaya Gupta <kgupta@mozilla.com>
Tue, 12 Apr 2016 15:19:47 -0400
changeset 330775 6fc0294f96c5b74a19da133a260df51677d64c3f
parent 330774 547dbf605e71dcffcca5f735dbefdf55d0e0423a
child 330776 246b4f8d75bdb8dbf7856392f7716f2a7f0484d8
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstnikkel
bugs1262432
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1262432 - Remove assertion that may be legitimately false sometimes. r=tnikkel MozReview-Commit-ID: HiGUlpypb75
gfx/layers/apz/util/APZCCallbackHelper.cpp
--- a/gfx/layers/apz/util/APZCCallbackHelper.cpp
+++ b/gfx/layers/apz/util/APZCCallbackHelper.cpp
@@ -251,17 +251,16 @@ APZCCallbackHelper::UpdateRootFrame(Fram
                         * aMetrics.GetAsyncZoom().scale;
     shell->SetResolutionAndScaleTo(presShellResolution);
   }
 
   // Do this as late as possible since scrolling can flush layout. It also
   // adjusts the display port margins, so do it before we set those.
   ScrollFrame(content, aMetrics);
 
-  MOZ_ASSERT(nsLayoutUtils::HasDisplayPort(content));
   SetDisplayPortMargins(shell, content, aMetrics);
   SetPaintRequestTime(content, aMetrics.GetPaintRequestTime());
 }
 
 void
 APZCCallbackHelper::UpdateSubFrame(FrameMetrics& aMetrics)
 {
   if (aMetrics.GetScrollId() == FrameMetrics::NULL_SCROLL_ID) {