Index: Source/core/timing/PerformanceNavigation.h |
diff --git a/Source/core/timing/PerformanceNavigation.h b/Source/core/timing/PerformanceNavigation.h |
index 25573c6637dcc38683a6dc98e1fcdb3b63507f73..2acc0eaf5119f52b94422b5c47fc21f03777cbb2 100644 |
--- a/Source/core/timing/PerformanceNavigation.h |
+++ b/Source/core/timing/PerformanceNavigation.h |
@@ -35,20 +35,18 @@ |
#include "core/CoreExport.h" |
#include "core/frame/DOMWindowProperty.h" |
#include "platform/heap/Handle.h" |
-#include "wtf/PassRefPtr.h" |
-#include "wtf/RefCounted.h" |
namespace blink { |
class LocalFrame; |
-class CORE_EXPORT PerformanceNavigation final : public RefCountedWillBeGarbageCollected<PerformanceNavigation>, public ScriptWrappable, public DOMWindowProperty { |
+class CORE_EXPORT PerformanceNavigation final : public GarbageCollectedFinalized<PerformanceNavigation>, public ScriptWrappable, public DOMWindowProperty { |
DEFINE_WRAPPERTYPEINFO(); |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PerformanceNavigation); |
public: |
- static PassRefPtrWillBeRawPtr<PerformanceNavigation> create(LocalFrame* frame) |
+ static PerformanceNavigation* create(LocalFrame* frame) |
{ |
- return adoptRefWillBeNoop(new PerformanceNavigation(frame)); |
+ return new PerformanceNavigation(frame); |
} |
enum PerformanceNavigationType { |