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

Side by Side Diff: third_party/WebKit/Source/platform/heap/Handle.h

Issue 2652923002: Devirtualize Visitor and remove inline visitor specialization. (Closed)
Patch Set: rebased 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 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 15 matching lines...) Expand all
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef Handle_h 31 #ifndef Handle_h
32 #define Handle_h 32 #define Handle_h
33 33
34 #include "platform/heap/Heap.h" 34 #include "platform/heap/Heap.h"
35 #include "platform/heap/HeapAllocator.h" 35 #include "platform/heap/HeapAllocator.h"
36 #include "platform/heap/InlinedGlobalMarkingVisitor.h"
37 #include "platform/heap/Member.h" 36 #include "platform/heap/Member.h"
38 #include "platform/heap/Persistent.h" 37 #include "platform/heap/Persistent.h"
39 #include "platform/heap/ThreadState.h" 38 #include "platform/heap/ThreadState.h"
40 #include "platform/heap/TraceTraits.h" 39 #include "platform/heap/TraceTraits.h"
41 #include "platform/heap/Visitor.h" 40 #include "platform/heap/Visitor.h"
41 #include "platform/heap/VisitorImpl.h"
42 #include "wtf/Allocator.h" 42 #include "wtf/Allocator.h"
43 43
44 #if defined(LEAK_SANITIZER) 44 #if defined(LEAK_SANITIZER)
45 #include "wtf/LeakAnnotations.h" 45 #include "wtf/LeakAnnotations.h"
46 #endif 46 #endif
47 47
48 namespace blink { 48 namespace blink {
49 49
50 // LEAK_SANITIZER_DISABLED_SCOPE: all allocations made in the current scope 50 // LEAK_SANITIZER_DISABLED_SCOPE: all allocations made in the current scope
51 // will be exempted from LSan consideration. 51 // will be exempted from LSan consideration.
(...skipping 20 matching lines...) Expand all
72 }; 72 };
73 #define LEAK_SANITIZER_DISABLED_SCOPE \ 73 #define LEAK_SANITIZER_DISABLED_SCOPE \
74 LeakSanitizerDisableScope lsanDisabledScope 74 LeakSanitizerDisableScope lsanDisabledScope
75 #else 75 #else
76 #define LEAK_SANITIZER_DISABLED_SCOPE 76 #define LEAK_SANITIZER_DISABLED_SCOPE
77 #endif 77 #endif
78 78
79 } // namespace blink 79 } // namespace blink
80 80
81 #endif 81 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/heap/GarbageCollected.h ('k') | third_party/WebKit/Source/platform/heap/Heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698