Backed out changeset 11f8ba2d1e85 (bug 1209273)
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Fri, 01 Apr 2016 11:57:56 +0200
changeset 291214 238bfb42ed6b344b4ccf32e5e8f9506004aefb0c
parent 291213 2eac8f080d52827aa8a37d712e673db288d44fe6
child 291215 c50d5221bef53d7849381e166f048cd4878cd4c7
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1209273
milestone48.0a1
backs out11f8ba2d1e859a6e47d5f07296ecbce56370efac
Backed out changeset 11f8ba2d1e85 (bug 1209273)
layout/base/nsCSSRendering.cpp
--- a/layout/base/nsCSSRendering.cpp
+++ b/layout/base/nsCSSRendering.cpp
@@ -1980,20 +1980,17 @@ nsCSSRendering::DetermineBackgroundColor
                                          nsStyleContext* aStyleContext,
                                          nsIFrame* aFrame,
                                          bool& aDrawBackgroundImage,
                                          bool& aDrawBackgroundColor)
 {
   aDrawBackgroundImage = true;
   aDrawBackgroundColor = true;
 
-  const nsStyleVisibility* visibility = aStyleContext->StyleVisibility();
-
-  if (visibility->mColorAdjust != NS_STYLE_COLOR_ADJUST_EXACT &&
-      aFrame->HonorPrintBackgroundSettings()) {
+  if (aFrame->HonorPrintBackgroundSettings()) {
     aDrawBackgroundImage = aPresContext->GetBackgroundImageDraw();
     aDrawBackgroundColor = aPresContext->GetBackgroundColorDraw();
   }
 
   const nsStyleBackground *bg = aStyleContext->StyleBackground();
   nscolor bgColor;
   if (aDrawBackgroundColor) {
     bgColor =