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

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

Issue 204063002: Oilpan: add transition types to Navigator and its supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adjust use of 'virtual' Created 6 years, 9 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/DOMWindow.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 990c01659f0f0a92ef13d1d8b9375aed721a6ef1..3e1b14df4b72c2e86d540d4309bd2e8d199970cd 100644
--- a/Source/core/frame/Navigator.h
+++ b/Source/core/frame/Navigator.h
@@ -39,9 +39,14 @@ class PluginData;
typedef int ExceptionCode;
-class Navigator FINAL : public NavigatorBase, public ScriptWrappable, public RefCounted<Navigator>, public DOMWindowProperty, public Supplementable<Navigator> {
+class Navigator FINAL : public RefCountedWillBeGarbageCollectedFinalized<Navigator>, public NavigatorBase, public ScriptWrappable, public DOMWindowProperty, public WillBeHeapSupplementable<Navigator> {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Navigator);
public:
- static PassRefPtr<Navigator> create(LocalFrame* frame) { return adoptRef(new Navigator(frame)); }
+ static PassRefPtrWillBeRawPtr<Navigator> create(LocalFrame* frame)
+ {
+ return adoptRefWillBeNoop(new Navigator(frame));
+ }
+
virtual ~Navigator();
AtomicString language() const;
@@ -59,11 +64,13 @@ public:
// Relinquishes the storage lock, if one exists.
void getStorageUpdates();
+ virtual void trace(Visitor*);
+
private:
explicit Navigator(LocalFrame*);
- mutable RefPtrWillBePersistent<DOMPluginArray> m_plugins;
- mutable RefPtrWillBePersistent<DOMMimeTypeArray> m_mimeTypes;
+ mutable RefPtrWillBeMember<DOMPluginArray> m_plugins;
+ mutable RefPtrWillBeMember<DOMMimeTypeArray> m_mimeTypes;
};
}
« no previous file with comments | « Source/core/frame/DOMWindow.h ('k') | Source/core/frame/Navigator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698