• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "traceimpl_error.h"
6 
7 namespace blink {
8 
Trace(Visitor * visitor)9 void TraceImplExternWithUntracedMember::Trace(Visitor* visitor) {
10   TraceImpl(visitor);
11 }
12 
13 template <typename VisitorDispatcher>
TraceImpl(VisitorDispatcher visitor)14 inline void TraceImplExternWithUntracedMember::TraceImpl(
15     VisitorDispatcher visitor) {
16   // Should get a warning as well.
17 }
18 
Trace(Visitor * visitor)19 void TraceImplExternWithUntracedBase::Trace(Visitor* visitor) {
20   TraceImpl(visitor);
21 }
22 
23 template <typename VisitorDispatcher>
TraceImpl(VisitorDispatcher visitor)24 inline void TraceImplExternWithUntracedBase::TraceImpl(
25     VisitorDispatcher visitor) {
26   // Ditto.
27 }
28 
29 }
30