Index: Source/core/frame/Navigator.h |
diff --git a/Source/core/frame/Navigator.h b/Source/core/frame/Navigator.h |
index 4138d60e5022d2a92ecbc939bbbeb8f5743f778f..864b08253670ae1d993a92a730b23fa6ae4df86e 100644 |
--- a/Source/core/frame/Navigator.h |
+++ b/Source/core/frame/Navigator.h |
@@ -29,9 +29,6 @@ |
#include "platform/Supplementable.h" |
#include "platform/heap/Handle.h" |
#include "wtf/Forward.h" |
-#include "wtf/PassRefPtr.h" |
-#include "wtf/RefCounted.h" |
-#include "wtf/RefPtr.h" |
namespace blink { |
@@ -40,20 +37,20 @@ class LocalFrame; |
typedef int ExceptionCode; |
class Navigator final |
- : public RefCountedWillBeGarbageCollectedFinalized<Navigator> |
+ : public GarbageCollectedFinalized<Navigator> |
, public NavigatorCPU |
, public NavigatorID |
, public NavigatorLanguage |
, public NavigatorOnLine |
, public ScriptWrappable |
, public DOMWindowProperty |
- , public WillBeHeapSupplementable<Navigator> { |
+ , public HeapSupplementable<Navigator> { |
DEFINE_WRAPPERTYPEINFO(); |
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Navigator); |
+ USING_GARBAGE_COLLECTED_MIXIN(Navigator); |
public: |
- static PassRefPtrWillBeRawPtr<Navigator> create(LocalFrame* frame) |
+ static Navigator* create(LocalFrame* frame) |
{ |
- return adoptRefWillBeNoop(new Navigator(frame)); |
+ return new Navigator(frame); |
} |
virtual ~Navigator(); |