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

Side by Side Diff: Source/platform/heap/InlinedGlobalMarkingVisitor.h

Issue 1162403003: Oilpan: Remove checkMarkingAllowed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/platform/heap/MarkingVisitor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 InlinedGlobalMarkingVisitor_h 5 #ifndef InlinedGlobalMarkingVisitor_h
6 #define InlinedGlobalMarkingVisitor_h 6 #define InlinedGlobalMarkingVisitor_h
7 7
8 #include "platform/heap/MarkingVisitorImpl.h" 8 #include "platform/heap/MarkingVisitorImpl.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 m_visitor->recordObjectGraphEdge(objectPointer); 64 m_visitor->recordObjectGraphEdge(objectPointer);
65 } 65 }
66 #endif 66 #endif
67 67
68 private: 68 private:
69 static InlinedGlobalMarkingVisitor fromHelper(Helper* helper) 69 static InlinedGlobalMarkingVisitor fromHelper(Helper* helper)
70 { 70 {
71 return *static_cast<InlinedGlobalMarkingVisitor*>(helper); 71 return *static_cast<InlinedGlobalMarkingVisitor*>(helper);
72 } 72 }
73 73
74 #if ENABLE(ASSERT)
75 inline void checkMarkingAllowed() { m_visitor->checkMarkingAllowed(); }
76 #endif
77
78 Visitor* m_visitor; 74 Visitor* m_visitor;
79 }; 75 };
80 76
81 inline void GarbageCollectedMixin::trace(InlinedGlobalMarkingVisitor) 77 inline void GarbageCollectedMixin::trace(InlinedGlobalMarkingVisitor)
82 { 78 {
83 } 79 }
84 80
85 } // namespace blink 81 } // namespace blink
86 82
87 #endif 83 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/platform/heap/MarkingVisitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698