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

Unified Diff: sky/engine/core/rendering/RenderLayer.h

Issue 961553003: Remove dead code from RenderLayer and inline filter methods. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « sky/engine/core/rendering/RenderBox.cpp ('k') | sky/engine/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderLayer.h
diff --git a/sky/engine/core/rendering/RenderLayer.h b/sky/engine/core/rendering/RenderLayer.h
index 76ebf529b6025d718bafe604d95b1be5b1c494f8..3916819a759c4c4d883db2aabcd16060df42dc3d 100644
--- a/sky/engine/core/rendering/RenderLayer.h
+++ b/sky/engine/core/rendering/RenderLayer.h
@@ -124,8 +124,6 @@ public:
bool hasBoxDecorationsOrBackground() const;
bool hasVisibleBoxDecorations() const;
- // Returns true if this layer has visible content (ignoring any child layers).
- bool isVisuallyNonEmpty() const;
// True if this layer container renderers that paint.
bool hasNonEmptyChildRenderers() const;
@@ -181,9 +179,6 @@ public:
// Only safe to call from RenderBox::destroyLayer()
void operator delete(void*);
- FilterOperations computeFilterOperations(const RenderStyle*);
- bool paintsWithFilters() const;
- bool requiresFullLayerImageForFilters() const;
FilterEffectRenderer* filterRenderer() const
{
RenderLayerFilterInfo* filterInfo = this->filterInfo();
@@ -213,8 +208,6 @@ public:
return isRootLayer() || layerRenderer->isPositioned() || hasTransform();
}
- void updateOrRemoveFilterEffectRenderer();
-
void clipToRect(const LayerPaintingInfo&, GraphicsContext*, const ClipRect&, BorderRadiusClippingRule = IncludeSelfForBorderRadius);
void restoreClip(GraphicsContext*, const LayoutRect& paintDirtyRect, const ClipRect&);
@@ -239,8 +232,6 @@ private:
void dirty3DTransformedDescendantStatus();
- void updateOrRemoveFilterClients();
-
LayerType m_layerType;
// Self-painting layer is an optimization where we avoid the heavy RenderLayer painting
« no previous file with comments | « sky/engine/core/rendering/RenderBox.cpp ('k') | sky/engine/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698