REGRESSION (r99613): Incomplete painting of the root element background in flipped...
[WebKit-https.git] / Source / WebCore / rendering / RenderBox.cpp
index 1191e1552fa16228aedc34c1e59425b846e60fcf..5821605f4abb85eb78fe7fb7529817546871c444 100644 (file)
@@ -872,10 +872,7 @@ void RenderBox::paintRootBoxFillLayers(const PaintInfo& paintInfo)
         }
     }
 
-    RenderView* view = this->view();
-    LayoutRect backgroundRect = view->backgroundRect();
-    flipForWritingMode(backgroundRect);
-    paintFillLayers(paintInfo, bgColor, bgLayer, backgroundRect, BackgroundBleedNone, CompositeSourceOver, bodyObject);
+    paintFillLayers(paintInfo, bgColor, bgLayer, view()->backgroundRect(this), BackgroundBleedNone, CompositeSourceOver, bodyObject);
 }
 
 BackgroundBleedAvoidance RenderBox::determineBackgroundBleedAvoidance(GraphicsContext* context) const