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

Side by Side Diff: third_party/WebKit/Source/platform/bindings/ScriptWrappableVisitorVerifier.h

Issue 2843603002: Move ScriptWrappable and dependencies to platform/bindings (Closed)
Patch Set: Rebase and try again Created 3 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 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 "bindings/core/v8/ScriptWrappableVisitor.h" 8 #include "platform/bindings/ScriptWrappableVisitor.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class ScriptWrappableVisitorVerifier : public WrapperVisitor { 12 class ScriptWrappableVisitorVerifier : public WrapperVisitor {
13 public: 13 public:
14 void DispatchTraceWrappers(const TraceWrapperBase* t) const override { 14 void DispatchTraceWrappers(const TraceWrapperBase* t) const override {
15 t->TraceWrappers(this); 15 t->TraceWrappers(this);
16 } 16 }
17 17
18 void TraceWrappers(const TraceWrapperV8Reference<v8::Value>&) const override { 18 void TraceWrappers(const TraceWrapperV8Reference<v8::Value>&) const override {
(...skipping 30 matching lines...) Expand all
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 }
58 #endif 58 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698