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

Unified Diff: Source/core/rendering/svg/RenderSVGResourceContainer.h

Issue 436693002: Get rid of RenderLayer tracking in RenderSVGResourceContainer. Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove RenderLayer::filterNeedsPaintInvalidation() (now unused). Created 6 years, 5 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/rendering/svg/RenderSVGResourceContainer.h
diff --git a/Source/core/rendering/svg/RenderSVGResourceContainer.h b/Source/core/rendering/svg/RenderSVGResourceContainer.h
index 753e50bc04aec8498fc1753685e61595360b843e..a46a83e641d7e7dcefdac229772ce1ad9c25a959 100644
--- a/Source/core/rendering/svg/RenderSVGResourceContainer.h
+++ b/Source/core/rendering/svg/RenderSVGResourceContainer.h
@@ -25,8 +25,6 @@
namespace blink {
-class RenderLayer;
-
class RenderSVGResourceContainer : public RenderSVGHiddenContainer,
public RenderSVGResource {
public:
@@ -41,9 +39,8 @@ public:
static AffineTransform transformOnNonScalingStroke(RenderObject*, const AffineTransform& resourceTransform);
void idChanged();
- void addClientRenderLayer(Node*);
- void addClientRenderLayer(RenderLayer*);
- void removeClientRenderLayer(RenderLayer*);
+ void addClient(RenderObject*);
+ void removeClient(RenderObject*);
void invalidateCacheAndMarkForLayout(SubtreeLayoutScope* = 0);
@@ -58,7 +55,6 @@ protected:
// Used from the invalidateClient/invalidateClients methods from classes, inheriting from us.
void markAllClientsForInvalidation(InvalidationMode);
- void markAllClientLayersForInvalidation();
void markClientForInvalidation(RenderObject*, InvalidationMode);
void clearInvalidationMask() { m_invalidationMask = 0; }
@@ -69,8 +65,6 @@ protected:
private:
friend class SVGResourcesCache;
- void addClient(RenderObject*);
- void removeClient(RenderObject*);
virtual void willBeDestroyed() OVERRIDE FINAL;
void registerResource();
@@ -84,7 +78,6 @@ private:
// 22 padding bits available
HashSet<RenderObject*> m_clients;
- HashSet<RenderLayer*> m_clientLayers;
};
inline RenderSVGResourceContainer* getRenderSVGResourceContainerById(TreeScope& treeScope, const AtomicString& id)
« no previous file with comments | « Source/core/rendering/RenderLayerFilterInfo.cpp ('k') | Source/core/rendering/svg/RenderSVGResourceContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698