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

Unified Diff: Source/modules/presentation/NavigatorPresentation.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: Make NavigatorBeacon a frame observer instead 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/presentation/NavigatorPresentation.h
diff --git a/Source/modules/presentation/NavigatorPresentation.h b/Source/modules/presentation/NavigatorPresentation.h
index 184ef57539404144fbe338bf6248a886e6a4ad85..d9affc888b75855b840d3fe74f99938824ea3edf 100644
--- a/Source/modules/presentation/NavigatorPresentation.h
+++ b/Source/modules/presentation/NavigatorPresentation.h
@@ -13,26 +13,21 @@ namespace blink {
class Navigator;
class Presentation;
-class NavigatorPresentation final
- : public NoBaseWillBeGarbageCollectedFinalized<NavigatorPresentation>
- , public WillBeHeapSupplement<Navigator> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorPresentation);
+class NavigatorPresentation final : public GarbageCollectedFinalized<NavigatorPresentation>, public HeapSupplement<Navigator> {
+ USING_GARBAGE_COLLECTED_MIXIN(NavigatorPresentation);
public:
- virtual ~NavigatorPresentation();
-
static NavigatorPresentation& from(Navigator&);
static Presentation* presentation(Navigator&);
DECLARE_VIRTUAL_TRACE();
private:
- static const char* supplementName();
-
NavigatorPresentation();
+ static const char* supplementName();
Presentation* presentation();
- PersistentWillBeMember<Presentation> m_presentation;
+ Member<Presentation> m_presentation;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698