Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / tools / clang / blink_gc_plugin / tests / traceimpl.cpp
blobc8849ccf780b8da177754a5f46fac0ebdbd6cdba
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.
5 #include "traceimpl.h"
7 namespace blink {
9 void TraceImplExtern::trace(Visitor* visitor) {
10 traceImpl(visitor);
13 template <typename VisitorDispatcher>
14 inline void TraceImplExtern::traceImpl(VisitorDispatcher visitor) {
15 visitor->trace(x_);
18 void TraceImplBaseExtern::trace(Visitor* visitor) {
19 traceImpl(visitor);
22 template <typename VisitorDispatcher>
23 inline void TraceImplBaseExtern::traceImpl(VisitorDispatcher visitor) {
24 visitor->trace(x_);
25 Base::trace(visitor);