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

Unified Diff: Source/core/frame/Location.h

Issue 552733003: Oilpan: make DOMWindowProperty a GC mixin. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Pacify GC plugin wrt LocalDOMWindow::trace() Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
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*);

Powered by Google App Engine
This is Rietveld 408576698