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

Unified Diff: Source/core/frame/Navigator.h

Issue 1101263003: Oilpan: have Navigator and its supplements be on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 8 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
« no previous file with comments | « Source/core/frame/LocalDOMWindow.h ('k') | Source/core/frame/Navigator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/core/frame/LocalDOMWindow.h ('k') | Source/core/frame/Navigator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698