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

Side by Side Diff: third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h

Issue 1929493002: Remove unnecessary uses of GarbageCollectedFinalized<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add two leftover classes needing same treatment Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Alex Mathews <possessedpenguinbob@gmail.com> 2 * Copyright (C) 2008 Alex Mathews <possessedpenguinbob@gmail.com>
3 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 3 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 21 matching lines...) Expand all
32 class SkPaint; 32 class SkPaint;
33 33
34 namespace blink { 34 namespace blink {
35 35
36 class FloatRect; 36 class FloatRect;
37 class LayoutObject; 37 class LayoutObject;
38 class SVGFilterElement; 38 class SVGFilterElement;
39 39
40 // A map from LayoutObject -> FilterEffect and FilterEffect -> dependent (downst ream) FilterEffects ("reverse DAG"). 40 // A map from LayoutObject -> FilterEffect and FilterEffect -> dependent (downst ream) FilterEffects ("reverse DAG").
41 // Used during invalidations from changes to the primitives (graph nodes). 41 // Used during invalidations from changes to the primitives (graph nodes).
42 class SVGFilterGraphNodeMap final : public GarbageCollectedFinalized<SVGFilterGr aphNodeMap> { 42 class SVGFilterGraphNodeMap final : public GarbageCollected<SVGFilterGraphNodeMa p> {
43 public: 43 public:
44 static SVGFilterGraphNodeMap* create() 44 static SVGFilterGraphNodeMap* create()
45 { 45 {
46 return new SVGFilterGraphNodeMap; 46 return new SVGFilterGraphNodeMap;
47 } 47 }
48 48
49 typedef HeapHashSet<Member<FilterEffect>> FilterEffectSet; 49 typedef HeapHashSet<Member<FilterEffect>> FilterEffectSet;
50 50
51 void addBuiltinEffect(FilterEffect*); 51 void addBuiltinEffect(FilterEffect*);
52 void addPrimitive(LayoutObject*, FilterEffect*); 52 void addPrimitive(LayoutObject*, FilterEffect*);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 NamedFilterEffectMap m_builtinEffects; 97 NamedFilterEffectMap m_builtinEffects;
98 NamedFilterEffectMap m_namedEffects; 98 NamedFilterEffectMap m_namedEffects;
99 99
100 Member<FilterEffect> m_lastEffect; 100 Member<FilterEffect> m_lastEffect;
101 Member<SVGFilterGraphNodeMap> m_nodeMap; 101 Member<SVGFilterGraphNodeMap> m_nodeMap;
102 }; 102 };
103 103
104 } // namespace blink 104 } // namespace blink
105 105
106 #endif // SVGFilterBuilder_h 106 #endif // SVGFilterBuilder_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGMatrixTearOff.cpp ('k') | third_party/WebKit/Source/core/workers/WorkerClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698