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

Side by Side Diff: third_party/WebKit/Source/modules/presentation/NavigatorPresentation.h

Issue 1929493002: Remove unnecessary uses of GarbageCollectedFinalized<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add two leftover classes needing same treatment Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NavigatorPresentation_h 5 #ifndef NavigatorPresentation_h
6 #define NavigatorPresentation_h 6 #define NavigatorPresentation_h
7 7
8 #include "platform/Supplementable.h" 8 #include "platform/Supplementable.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class Navigator; 13 class Navigator;
14 class Presentation; 14 class Presentation;
15 15
16 class NavigatorPresentation final : public GarbageCollectedFinalized<NavigatorPr esentation>, public Supplement<Navigator> { 16 class NavigatorPresentation final : public GarbageCollected<NavigatorPresentatio n>, public Supplement<Navigator> {
17 USING_GARBAGE_COLLECTED_MIXIN(NavigatorPresentation); 17 USING_GARBAGE_COLLECTED_MIXIN(NavigatorPresentation);
18 public: 18 public:
19 static NavigatorPresentation& from(Navigator&); 19 static NavigatorPresentation& from(Navigator&);
20 static Presentation* presentation(Navigator&); 20 static Presentation* presentation(Navigator&);
21 21
22 DECLARE_VIRTUAL_TRACE(); 22 DECLARE_VIRTUAL_TRACE();
23 23
24 private: 24 private:
25 NavigatorPresentation(); 25 NavigatorPresentation();
26 26
27 static const char* supplementName(); 27 static const char* supplementName();
28 Presentation* presentation(); 28 Presentation* presentation();
29 29
30 Member<Presentation> m_presentation; 30 Member<Presentation> m_presentation;
31 }; 31 };
32 32
33 } // namespace blink 33 } // namespace blink
34 34
35 #endif // NavigatorPresentation_h 35 #endif // NavigatorPresentation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698