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

Unified Diff: Source/modules/bluetooth/NavigatorBluetooth.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/modules/beacon/NavigatorBeacon.cpp ('k') | Source/modules/bluetooth/NavigatorBluetooth.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/bluetooth/NavigatorBluetooth.h
diff --git a/Source/modules/bluetooth/NavigatorBluetooth.h b/Source/modules/bluetooth/NavigatorBluetooth.h
index cce6ff5a290c76b7ba6f7c658ec6dff72f4ef20c..3bcf7a2a95dc2ebc6c89778426235f1f453e4d1b 100644
--- a/Source/modules/bluetooth/NavigatorBluetooth.h
+++ b/Source/modules/bluetooth/NavigatorBluetooth.h
@@ -13,11 +13,8 @@ namespace blink {
class Bluetooth;
class Navigator;
-class NavigatorBluetooth final
- : public NoBaseWillBeGarbageCollected<NavigatorBluetooth>
- , public WillBeHeapSupplement<Navigator> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorBluetooth);
- DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(NavigatorBluetooth);
+class NavigatorBluetooth final : public GarbageCollected<NavigatorBluetooth>, public HeapSupplement<Navigator> {
+ USING_GARBAGE_COLLECTED_MIXIN(NavigatorBluetooth);
public:
// Gets, or creates, NavigatorBluetooth supplement on Navigator.
// See platform/Supplementable.h
@@ -32,7 +29,7 @@ private:
NavigatorBluetooth();
static const char* supplementName();
- PersistentWillBeMember<Bluetooth> m_bluetooth;
+ Member<Bluetooth> m_bluetooth;
};
} // namespace blink
« no previous file with comments | « Source/modules/beacon/NavigatorBeacon.cpp ('k') | Source/modules/bluetooth/NavigatorBluetooth.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698