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

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: Merge with trunk (no changes from previous patch) 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 82bde7e69164df0063623b8a83b209648da038f2..2f5ef31f8d2ef39a373b88e9c532e1ec8ad95970 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;
« no previous file with comments | « Source/core/frame/UseCounter.cpp ('k') | Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698