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

Unified Diff: Source/core/layout/LayoutBox.cpp

Issue 1287623002: Delete blink code for scroll-blocks-on (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months 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: Source/core/layout/LayoutBox.cpp
diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp
index 85a09953e31bb812f5783c5b460969d1c3ed16fa..61be63ffe87a8a4abd2d33c7d71d9a2a7acc6d46 100644
--- a/Source/core/layout/LayoutBox.cpp
+++ b/Source/core/layout/LayoutBox.cpp
@@ -107,15 +107,6 @@ DeprecatedPaintLayerType LayoutBox::layerTypeRequired() const
|| !style()->hasAutoZIndex() || style()->shouldCompositeForCurrentAnimations())
return NormalDeprecatedPaintLayer;
- // Ensure that explicit use of scroll-blocks-on creates a Layer (since we might need
- // it to be composited).
- if (style()->hasScrollBlocksOn()) {
- if (isDocumentElement()) {
- ASSERT(style()->scrollBlocksOn() == view()->style()->scrollBlocksOn());
- return NoDeprecatedPaintLayer;
- }
- return NormalDeprecatedPaintLayer;
- }
if (hasOverflowClip())
return OverflowClipDeprecatedPaintLayer;

Powered by Google App Engine
This is Rietveld 408576698