Index: Source/core/frame/Location.h |
diff --git a/Source/core/frame/Location.h b/Source/core/frame/Location.h |
index 69cbe4adeb4380bd47086fca71a3fe38a0b61798..ea7ba6b733d5a977087c0fa31897e5025fa6a09e 100644 |
--- a/Source/core/frame/Location.h |
+++ b/Source/core/frame/Location.h |
@@ -43,8 +43,9 @@ class ExceptionState; |
class LocalFrame; |
class KURL; |
-class Location FINAL : public RefCountedWillBeGarbageCollectedFinalized<Location>, public ScriptWrappable, public DOMWindowProperty { |
+class Location FINAL : public RefCountedWillBeGarbageCollected<Location>, public ScriptWrappable, public DOMWindowProperty { |
DEFINE_WRAPPERTYPEINFO(); |
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Location); |
public: |
static PassRefPtrWillBeRawPtr<Location> create(LocalFrame* frame) |
{ |
@@ -76,7 +77,7 @@ public: |
PassRefPtrWillBeRawPtr<DOMStringList> ancestorOrigins() const; |
- void trace(Visitor*) { } |
+ virtual void trace(Visitor*) OVERRIDE; |
private: |
explicit Location(LocalFrame*); |