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

Unified Diff: Source/core/rendering/RenderLayer.cpp

Issue 725433002: Remove optimization to lazily allocate transparency layers in LayerPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « Source/core/rendering/RenderLayer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderLayer.cpp
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp
index c21315adf2d10b0f3f59f698def68485a3e13a5e..ed04469141028179c64deffb8eda936dfc6d6913 100644
--- a/Source/core/rendering/RenderLayer.cpp
+++ b/Source/core/rendering/RenderLayer.cpp
@@ -1075,20 +1075,6 @@ bool RenderLayer::hasAncestorWithFilterOutsets() const
return false;
}
-RenderLayer* RenderLayer::transparentPaintingAncestor()
-{
- if (hasCompositedLayerMapping())
- return 0;
-
- for (RenderLayer* curr = parent(); curr; curr = curr->parent()) {
- if (curr->hasCompositedLayerMapping())
- return 0;
- if (curr->isTransparent())
- return curr;
- }
- return 0;
-}
-
static void expandClipRectForDescendantsAndReflection(LayoutRect& clipRect, const RenderLayer* layer, const RenderLayer* rootLayer,
RenderLayer::TransparencyClipBoxBehavior transparencyBehavior, const LayoutSize& subPixelAccumulation, PaintBehavior paintBehavior)
{
« no previous file with comments | « Source/core/rendering/RenderLayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698