OLD | NEW |
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 ScriptWrappableVisitorVerifier_h | 5 #ifndef ScriptWrappableVisitorVerifier_h |
6 #define ScriptWrappableVisitorVerifier_h | 6 #define ScriptWrappableVisitorVerifier_h |
7 | 7 |
8 #include "platform/bindings/ScriptWrappableVisitor.h" | 8 #include "platform/bindings/ScriptWrappableVisitor.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 visited_headers_.insert(header); | 47 visited_headers_.insert(header); |
48 return true; | 48 return true; |
49 } | 49 } |
50 return false; | 50 return false; |
51 } | 51 } |
52 void MarkWrappersInAllWorlds(const ScriptWrappable*) const override {} | 52 void MarkWrappersInAllWorlds(const ScriptWrappable*) const override {} |
53 | 53 |
54 private: | 54 private: |
55 mutable WTF::HashSet<HeapObjectHeader*> visited_headers_; | 55 mutable WTF::HashSet<HeapObjectHeader*> visited_headers_; |
56 }; | 56 }; |
57 } | 57 } // namespace blink |
58 #endif | 58 #endif |
OLD | NEW |