Bug 1407480 - Carry valid Rect when calling NotifyInvalidation() in layers-free mode. r=kats
authorvincentliu <vliu@mozilla.com>
Fri, 13 Oct 2017 13:33:20 +0800
changeset 386118 6ead77d51be961f578652794a6dced48b8778d2a
parent 386057 2f76e40db328035331dd6aa79d0e5fbf04db7c96
child 386119 4baaea004689e8f6f4a4d9feff99c98c5378c3ce
push id32676
push userarchaeopteryx@coole-files.de
push dateFri, 13 Oct 2017 21:38:18 +0000
treeherdermozilla-central@a31334a65a1c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1407480
milestone58.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 1407480 - Carry valid Rect when calling NotifyInvalidation() in layers-free mode. r=kats
layout/painting/nsDisplayList.cpp
taskcluster/ci/test/test-sets.yml
--- a/layout/painting/nsDisplayList.cpp
+++ b/layout/painting/nsDisplayList.cpp
@@ -2181,17 +2181,17 @@ already_AddRefed<LayerManager> nsDisplay
     }
 
     aBuilder->SetIsCompositingCheap(temp);
     if (document && widgetTransaction) {
       TriggerPendingAnimations(document, layerManager->GetAnimationReadyTime());
     }
 
     if (presContext->RefreshDriver()->HasScheduleFlush()) {
-      presContext->NotifyInvalidation(layerManager->GetLastTransactionId(), nsIntRect());
+      presContext->NotifyInvalidation(layerManager->GetLastTransactionId(), frame->GetRect());
     }
 
     return layerManager.forget();
   }
 
   NotifySubDocInvalidationFunc computeInvalidFunc =
     presContext->MayHavePaintEventListenerInSubDocument() ? nsPresContext::NotifySubDocInvalidation : 0;
 
--- a/taskcluster/ci/test/test-sets.yml
+++ b/taskcluster/ci/test/test-sets.yml
@@ -104,17 +104,17 @@ reftest-stylo:
 qr-talos:
     - talos-chrome
     - talos-dromaeojs
     - talos-g1
     # - talos-g2 # doesn't work with QR yet
     - talos-g3
     - talos-g4
     - talos-g5
-    # - talos-other # fails with layers-free
+    - talos-other
     # - talos-svgr # fails with layers-free
     - talos-tp5o
     - talos-perf-reftest
     - talos-perf-reftest-singletons
     - talos-speedometer
 
 qr-tests:
     - cppunit