summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/testing/LayerRectList.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/testing/LayerRectList.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/testing/LayerRectList.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/chromium/third_party/WebKit/Source/core/testing/LayerRectList.h b/chromium/third_party/WebKit/Source/core/testing/LayerRectList.h
index ec1582b8b99..9aa3518acdc 100644
--- a/chromium/third_party/WebKit/Source/core/testing/LayerRectList.h
+++ b/chromium/third_party/WebKit/Source/core/testing/LayerRectList.h
@@ -44,19 +44,24 @@ class ClientRectList;
class LayerRect;
class Node;
-class LayerRectList : public RefCounted<LayerRectList> {
+class LayerRectList FINAL : public RefCountedWillBeGarbageCollected<LayerRectList> {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(LayerRectList);
public:
- static PassRefPtr<LayerRectList> create() { return adoptRef(new LayerRectList); }
- ~LayerRectList();
+ static PassRefPtrWillBeRawPtr<LayerRectList> create()
+ {
+ return adoptRefWillBeNoop(new LayerRectList);
+ }
unsigned length() const;
LayerRect* item(unsigned index);
- void append(PassRefPtr<Node> layerRootNode, const String& layerName, PassRefPtr<ClientRect> layerRelativeRect);
+ void append(PassRefPtrWillBeRawPtr<Node> layerAssociatedNode, const String& layerName, int layerOffsetX, int layerOffsetY, PassRefPtrWillBeRawPtr<ClientRect> layerRelativeRect);
+
+ void trace(Visitor*);
private:
LayerRectList();
- Vector<RefPtr<LayerRect> > m_list;
+ WillBeHeapVector<RefPtrWillBeMember<LayerRect> > m_list;
};
} // namespace WebCore