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

Unified Diff: Source/modules/permissions/NavigatorPermissions.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
Index: Source/modules/permissions/NavigatorPermissions.h
diff --git a/Source/modules/permissions/NavigatorPermissions.h b/Source/modules/permissions/NavigatorPermissions.h
index 062ea0a5f61d26c36b221d46b67c181264f1ecf9..33e631be253512ee18b99807470430a25b6cfb4e 100644
--- a/Source/modules/permissions/NavigatorPermissions.h
+++ b/Source/modules/permissions/NavigatorPermissions.h
@@ -13,24 +13,20 @@ namespace blink {
class Navigator;
class Permissions;
-class NavigatorPermissions final
- : public NoBaseWillBeGarbageCollectedFinalized<NavigatorPermissions>
- , public WillBeHeapSupplement<Navigator> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorPermissions);
+class NavigatorPermissions final : public GarbageCollected<NavigatorPermissions>, public HeapSupplement<Navigator> {
+ USING_GARBAGE_COLLECTED_MIXIN(NavigatorPermissions);
public:
- virtual ~NavigatorPermissions();
-
static NavigatorPermissions& from(Navigator&);
static Permissions* permissions(Navigator&);
DECLARE_VIRTUAL_TRACE();
private:
- static const char* supplementName();
-
NavigatorPermissions();
- PersistentWillBeMember<Permissions> m_permissions;
+ static const char* supplementName();
+
+ Member<Permissions> m_permissions;
};
} // namespace blink
« no previous file with comments | « Source/modules/netinfo/NavigatorNetworkInformation.cpp ('k') | Source/modules/permissions/NavigatorPermissions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698