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

Unified Diff: Source/core/frame/History.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/History.h
diff --git a/Source/core/frame/History.h b/Source/core/frame/History.h
index 3e46eb534c62aab3ea57489dc9ba3e47dacec79a..509d9298346a6291058c8a78db20f68700c99a48 100644
--- a/Source/core/frame/History.h
+++ b/Source/core/frame/History.h
@@ -44,6 +44,7 @@ class ExceptionState;
class History FINAL : public RefCountedWillBeGarbageCollectedFinalized<History>, public ScriptWrappable, public DOMWindowProperty {
DEFINE_WRAPPERTYPEINFO();
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(History);
public:
static PassRefPtrWillBeRawPtr<History> create(LocalFrame* frame)
{
@@ -62,7 +63,7 @@ public:
void stateObjectAdded(PassRefPtr<SerializedScriptValue>, const String& title, const String& url, FrameLoadType, ExceptionState&);
- void trace(Visitor*) { }
+ virtual void trace(Visitor*) OVERRIDE;
private:
explicit History(LocalFrame*);

Powered by Google App Engine
This is Rietveld 408576698