Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / frame / Location.h
index be9dbce..ea7ba6b 100644 (file)
@@ -43,7 +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)
     {
@@ -75,7 +77,7 @@ public:
 
     PassRefPtrWillBeRawPtr<DOMStringList> ancestorOrigins() const;
 
-    void trace(Visitor*) { }
+    virtual void trace(Visitor*) OVERRIDE;
 
 private:
     explicit Location(LocalFrame*);