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

Unified Diff: Source/core/frame/BarProp.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/BarProp.h
diff --git a/Source/core/frame/BarProp.h b/Source/core/frame/BarProp.h
index a6ea89e2115faa3ea376f9252a6c0a0abe94bd36..b75267d763f3cd621acd82914bf1b5af8c1eb2af 100644
--- a/Source/core/frame/BarProp.h
+++ b/Source/core/frame/BarProp.h
@@ -39,8 +39,9 @@ namespace blink {
class LocalFrame;
-class BarProp FINAL : public RefCountedWillBeGarbageCollectedFinalized<BarProp>, public ScriptWrappable, public DOMWindowProperty {
+class BarProp FINAL : public RefCountedWillBeGarbageCollected<BarProp>, public ScriptWrappable, public DOMWindowProperty {
DEFINE_WRAPPERTYPEINFO();
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(BarProp);
public:
enum Type { Locationbar, Menubar, Personalbar, Scrollbars, Statusbar, Toolbar };
@@ -51,7 +52,7 @@ public:
bool visible() const;
- void trace(Visitor*) { }
+ virtual void trace(Visitor*) OVERRIDE;
private:
BarProp(LocalFrame*, Type);

Powered by Google App Engine
This is Rietveld 408576698