Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1249)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp

Issue 2561183002: Revert "Disable local background equivalence when we have a box shadow due to painting bug." (Closed)
Patch Set: Remove outdated expectation files as per reviewer comments Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
index d35fc7fd00589fa1d285cc7816a2ed03aad14416..f4b697bd895f7b7d4ba53b1babfd3342e5520374 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
@@ -129,12 +129,6 @@ BackgroundPaintLocation LayoutBoxModelObject::backgroundPaintLocation() const {
if (!style()->hasAutoClip())
return BackgroundPaintInGraphicsLayer;
- // TODO(flackr): Remove this when box shadows are still painted correctly when
- // painting into the composited scrolling contents layer.
- // https://crbug.com/646464
- if (style()->boxShadow())
- return BackgroundPaintInGraphicsLayer;
-
// Assume optimistically that the background can be painted in the scrolling
// contents until we find otherwise.
BackgroundPaintLocation paintLocation = BackgroundPaintInScrollingContents;

Powered by Google App Engine
This is Rietveld 408576698