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

Unified Diff: Source/core/timing/PerformanceTiming.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/PerformanceTiming.h
diff --git a/Source/core/timing/PerformanceTiming.h b/Source/core/timing/PerformanceTiming.h
index 19f676fa10b86d0aa8f3a221b213171db7995306..8e61262f6fd0970c83f6becaab700de731293a5a 100644
--- a/Source/core/timing/PerformanceTiming.h
+++ b/Source/core/timing/PerformanceTiming.h
@@ -45,8 +45,9 @@ struct DocumentTiming;
class LocalFrame;
class ResourceLoadTiming;
-class PerformanceTiming FINAL : public RefCountedWillBeGarbageCollectedFinalized<PerformanceTiming>, public ScriptWrappable, public DOMWindowProperty {
+class PerformanceTiming FINAL : public RefCountedWillBeGarbageCollected<PerformanceTiming>, public ScriptWrappable, public DOMWindowProperty {
DEFINE_WRAPPERTYPEINFO();
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PerformanceTiming);
public:
static PassRefPtrWillBeRawPtr<PerformanceTiming> create(LocalFrame* frame)
{
@@ -75,7 +76,7 @@ public:
unsigned long long loadEventStart() const;
unsigned long long loadEventEnd() const;
- void trace(Visitor*) { }
+ virtual void trace(Visitor*) OVERRIDE;
private:
explicit PerformanceTiming(LocalFrame*);

Powered by Google App Engine
This is Rietveld 408576698