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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectedFrames.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 InspectedFrames_h 5 #ifndef InspectedFrames_h
6 #define InspectedFrames_h 6 #define InspectedFrames_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "wtf/Forward.h" 10 #include "wtf/Forward.h"
11 #include "wtf/Noncopyable.h" 11 #include "wtf/Noncopyable.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class LocalFrame; 15 class LocalFrame;
16 16
17 class CORE_EXPORT InspectedFrames final : public GarbageCollectedFinalized<Inspe ctedFrames> { 17 class CORE_EXPORT InspectedFrames final : public GarbageCollected<InspectedFrame s> {
18 WTF_MAKE_NONCOPYABLE(InspectedFrames); 18 WTF_MAKE_NONCOPYABLE(InspectedFrames);
19 public: 19 public:
20 class CORE_EXPORT Iterator { 20 class CORE_EXPORT Iterator {
21 STACK_ALLOCATED(); 21 STACK_ALLOCATED();
22 public: 22 public:
23 Iterator operator++(int); 23 Iterator operator++(int);
24 Iterator& operator++(); 24 Iterator& operator++();
25 bool operator==(const Iterator& other); 25 bool operator==(const Iterator& other);
26 bool operator!=(const Iterator& other); 26 bool operator!=(const Iterator& other);
27 LocalFrame* operator*() { return m_current; } 27 LocalFrame* operator*() { return m_current; }
(...skipping 20 matching lines...) Expand all
48 48
49 private: 49 private:
50 explicit InspectedFrames(LocalFrame*); 50 explicit InspectedFrames(LocalFrame*);
51 51
52 Member<LocalFrame> m_root; 52 Member<LocalFrame> m_root;
53 }; 53 };
54 54
55 } // namespace blink 55 } // namespace blink
56 56
57 #endif // InspectedFrames_h 57 #endif // InspectedFrames_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698