Index: Source/core/rendering/RenderLayer.cpp |
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp |
index 59741e86d6ce412df91f3a0ee16feb1f80ded73b..361ca450cecd1294e51b843704ac0efce7e6ac11 100644 |
--- a/Source/core/rendering/RenderLayer.cpp |
+++ b/Source/core/rendering/RenderLayer.cpp |
@@ -396,18 +396,6 @@ TransformationMatrix RenderLayer::renderableTransform(PaintBehavior paintBehavio |
return *m_transform; |
} |
-RenderLayer* RenderLayer::enclosingOverflowClipLayer(IncludeSelfOrNot includeSelf) const |
-{ |
- const RenderLayer* layer = (includeSelf == IncludeSelf) ? this : parent(); |
- while (layer) { |
- if (layer->renderer()->hasOverflowClip()) |
- return const_cast<RenderLayer*>(layer); |
- |
- layer = layer->parent(); |
- } |
- return 0; |
-} |
- |
static bool checkContainingBlockChainForPagination(RenderLayerModelObject* renderer, RenderBox* ancestorColumnsRenderer) |
{ |
RenderView* view = renderer->view(); |
@@ -3440,22 +3428,6 @@ bool RenderLayer::hasVisibleBoxDecorations() const |
return hasBoxDecorationsOrBackground() || hasOverflowControls(); |
} |
-bool RenderLayer::isVisuallyNonEmpty() const |
-{ |
- ASSERT(!m_visibleDescendantStatusDirty); |
- |
- if (hasVisibleContent() && hasNonEmptyChildRenderers()) |
- return true; |
- |
- if (renderer()->isReplaced() || renderer()->hasMask()) |
- return true; |
- |
- if (hasVisibleBoxDecorations()) |
- return true; |
- |
- return false; |
-} |
- |
void RenderLayer::updateFilters(const RenderStyle* oldStyle, const RenderStyle* newStyle) |
{ |
if (!newStyle->hasFilter() && (!oldStyle || !oldStyle->hasFilter())) |