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

Side by Side Diff: third_party/WebKit/Source/core/testing/DeathAwareScriptWrappable.h

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 DeathAwareScriptWrappable_h 5 #ifndef DeathAwareScriptWrappable_h
6 #define DeathAwareScriptWrappable_h 6 #define DeathAwareScriptWrappable_h
7 7
8 #include <signal.h>
8 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "bindings/core/v8/TraceWrapperMember.h" 10 #include "bindings/core/v8/TraceWrapperMember.h"
10 #include "platform/heap/Heap.h" 11 #include "platform/heap/Heap.h"
11 #include "wtf/text/WTFString.h" 12 #include "wtf/text/WTFString.h"
12 #include <signal.h>
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class DeathAwareScriptWrappable 16 class DeathAwareScriptWrappable
17 : public GarbageCollectedFinalized<DeathAwareScriptWrappable>, 17 : public GarbageCollectedFinalized<DeathAwareScriptWrappable>,
18 public ScriptWrappable { 18 public ScriptWrappable {
19 DEFINE_WRAPPERTYPEINFO(); 19 DEFINE_WRAPPERTYPEINFO();
20 static DeathAwareScriptWrappable* s_instance; 20 static DeathAwareScriptWrappable* s_instance;
21 static bool s_hasDied; 21 static bool s_hasDied;
22 22
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 Member<DeathAwareScriptWrappable> m_rawDependency; 81 Member<DeathAwareScriptWrappable> m_rawDependency;
82 Wrapper m_wrappedDependency; 82 Wrapper m_wrappedDependency;
83 HeapVector<Wrapper> m_wrappedVectorDependency; 83 HeapVector<Wrapper> m_wrappedVectorDependency;
84 HeapHashMap<Wrapper, Wrapper> m_wrappedHashMapDependency; 84 HeapHashMap<Wrapper, Wrapper> m_wrappedHashMapDependency;
85 }; 85 };
86 86
87 } // namespace blink 87 } // namespace blink
88 88
89 #endif // DeathAwareScriptWrappable_h 89 #endif // DeathAwareScriptWrappable_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698