Backed out changeset 7b09d25fba12 for landing with the wrong bug number in the commit message.
authorRyan VanderMeulen <ryanvm@gmail.com>
Thu, 20 Oct 2016 14:14:55 -0400
changeset 427707 d4f52dd26d8a4187963eda73c98978865c7d72c8
parent 427706 7b09d25fba1281a1fe2b9bb41d816a3ce7c53d8e
child 427708 bb20e66b9f1051baf1e1db58b043fb22680dac3b
push id33099
push userdholbert@mozilla.com
push dateThu, 20 Oct 2016 20:25:54 +0000
milestone52.0a1
backs out7b09d25fba1281a1fe2b9bb41d816a3ce7c53d8e
Backed out changeset 7b09d25fba12 for landing with the wrong bug number in the commit message.
dom/ipc/TabChild.cpp
--- a/dom/ipc/TabChild.cpp
+++ b/dom/ipc/TabChild.cpp
@@ -2631,17 +2631,18 @@ TabChild::RecvSetDocShellIsActive(const 
       // to paints as quickly as possible.
       APZCCallbackHelper::SuppressDisplayport(true, presShell);
       if (nsContentUtils::IsSafeToRunScript()) {
         WebWidget()->PaintNowIfNeeded();
       } else {
         RefPtr<nsViewManager> vm = presShell->GetViewManager();
         if (nsView* view = vm->GetRootView()) {
           presShell->Paint(view, view->GetBounds(),
-                           nsIPresShell::PAINT_LAYERS);
+                           nsIPresShell::PAINT_LAYERS |
+                           nsIPresShell::PAINT_SYNC_DECODE_IMAGES);
         }
       }
       APZCCallbackHelper::SuppressDisplayport(false, presShell);
     }
   } else if (!aPreserveLayers) {
     MakeHidden();
   }