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

Side by Side Diff: Source/core/rendering/RenderLayerFilterInfo.h

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/RenderLayerFilterInfo.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 typedef HashMap<const RenderLayer*, RenderLayerFilterInfo*> RenderLayerFilterInf oMap; 48 typedef HashMap<const RenderLayer*, RenderLayerFilterInfo*> RenderLayerFilterInf oMap;
49 49
50 class RenderLayerFilterInfo final : public DocumentResourceClient { 50 class RenderLayerFilterInfo final : public DocumentResourceClient {
51 public: 51 public:
52 static RenderLayerFilterInfo* filterInfoForRenderLayer(const RenderLayer*); 52 static RenderLayerFilterInfo* filterInfoForRenderLayer(const RenderLayer*);
53 static RenderLayerFilterInfo* createFilterInfoForRenderLayerIfNeeded(RenderL ayer*); 53 static RenderLayerFilterInfo* createFilterInfoForRenderLayerIfNeeded(RenderL ayer*);
54 static void removeFilterInfoForRenderLayer(RenderLayer*); 54 static void removeFilterInfoForRenderLayer(RenderLayer*);
55 55
56 FilterEffectRenderer* renderer() const { return m_renderer.get(); } 56 FilterEffectRenderer* renderer() const { return m_renderer.get(); }
57 void setRenderer(PassRefPtr<FilterEffectRenderer>); 57 void setRenderer(PassRefPtrWillBeRawPtr<FilterEffectRenderer>);
58 58
59 void updateReferenceFilterClients(const FilterOperations&); 59 void updateReferenceFilterClients(const FilterOperations&);
60 virtual void notifyFinished(Resource*) override; 60 virtual void notifyFinished(Resource*) override;
61 void removeReferenceFilterClients(); 61 void removeReferenceFilterClients();
62 62
63 private: 63 private:
64 RenderLayerFilterInfo(RenderLayer*); 64 RenderLayerFilterInfo(RenderLayer*);
65 virtual ~RenderLayerFilterInfo(); 65 virtual ~RenderLayerFilterInfo();
66 66
67 RenderLayer* m_layer; 67 RenderLayer* m_layer;
68 68
69 RefPtr<FilterEffectRenderer> m_renderer; 69 RefPtrWillBePersistent<FilterEffectRenderer> m_renderer;
70 70
71 static RenderLayerFilterInfoMap* s_filterMap; 71 static RenderLayerFilterInfoMap* s_filterMap;
72 WillBePersistentHeapVector<RefPtrWillBeMember<Element> > m_internalSVGRefere nces; 72 WillBePersistentHeapVector<RefPtrWillBeMember<Element> > m_internalSVGRefere nces;
73 Vector<ResourcePtr<DocumentResource> > m_externalSVGReferences; 73 Vector<ResourcePtr<DocumentResource> > m_externalSVGReferences;
74 }; 74 };
75 75
76 } // namespace blink 76 } // namespace blink
77 77
78 78
79 #endif // RenderLayerFilterInfo_h 79 #endif // RenderLayerFilterInfo_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/RenderLayerFilterInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698