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

Unified Diff: Source/core/timing/PerformanceNavigation.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/timing/PerformanceNavigation.h
diff --git a/Source/core/timing/PerformanceNavigation.h b/Source/core/timing/PerformanceNavigation.h
index a4be5097754975266958d6a326d8e72b1d8f39ec..9eab2b93d339f7f56eedb678d9fcfe17d4fe6da4 100644
--- a/Source/core/timing/PerformanceNavigation.h
+++ b/Source/core/timing/PerformanceNavigation.h
@@ -41,8 +41,9 @@ namespace blink {
class LocalFrame;
-class PerformanceNavigation FINAL : public RefCountedWillBeGarbageCollectedFinalized<PerformanceNavigation>, public ScriptWrappable, public DOMWindowProperty {
+class PerformanceNavigation FINAL : public RefCountedWillBeGarbageCollected<PerformanceNavigation>, public ScriptWrappable, public DOMWindowProperty {
DEFINE_WRAPPERTYPEINFO();
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PerformanceNavigation);
public:
static PassRefPtrWillBeRawPtr<PerformanceNavigation> create(LocalFrame* frame)
{
@@ -59,7 +60,7 @@ public:
unsigned short type() const;
unsigned short redirectCount() const;
- void trace(Visitor*) { }
+ virtual void trace(Visitor*) OVERRIDE;
private:
explicit PerformanceNavigation(LocalFrame*);

Powered by Google App Engine
This is Rietveld 408576698