Home | History | Annotate | Download | only in tests
      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
      3 // found in the LICENSE file.
      4 
      5 #include "traceimpl.h"
      6 
      7 namespace blink {
      8 
      9 void TraceImplExtern::Trace(Visitor* visitor) {
     10   TraceImpl(visitor);
     11 }
     12 
     13 template <typename VisitorDispatcher>
     14 inline void TraceImplExtern::TraceImpl(VisitorDispatcher visitor) {
     15   visitor->Trace(x_);
     16 }
     17 
     18 void TraceImplBaseExtern::Trace(Visitor* visitor) {
     19   TraceImpl(visitor);
     20 }
     21 
     22 template <typename VisitorDispatcher>
     23 inline void TraceImplBaseExtern::TraceImpl(VisitorDispatcher visitor) {
     24   visitor->Trace(x_);
     25   Base::Trace(visitor);
     26 }
     27 
     28 }
     29