2017-02-09 23:07:43 +01:00
|
|
|
// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights
|
|
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
// can be found in the LICENSE file.
|
|
|
|
|
|
|
|
#include "libcef_dll/cpptoc/base_ref_counted_cpptoc.h"
|
|
|
|
|
2017-05-17 11:29:28 +02:00
|
|
|
CefBaseRefCountedCppToC::CefBaseRefCountedCppToC() {}
|
2017-02-09 23:07:43 +01:00
|
|
|
|
2017-05-17 11:29:28 +02:00
|
|
|
template <>
|
|
|
|
CefRefPtr<CefBaseRefCounted> CefCppToCRefCounted<
|
|
|
|
CefBaseRefCountedCppToC,
|
|
|
|
CefBaseRefCounted,
|
|
|
|
cef_base_ref_counted_t>::UnwrapDerived(CefWrapperType type,
|
|
|
|
cef_base_ref_counted_t* s) {
|
2017-02-09 23:07:43 +01:00
|
|
|
NOTREACHED();
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
#if DCHECK_IS_ON()
|
2017-05-17 11:29:28 +02:00
|
|
|
template <>
|
|
|
|
base::AtomicRefCount CefCppToCRefCounted<CefBaseRefCountedCppToC,
|
|
|
|
CefBaseRefCounted,
|
|
|
|
cef_base_ref_counted_t>::DebugObjCt =
|
|
|
|
0;
|
2017-02-09 23:07:43 +01:00
|
|
|
#endif
|
|
|
|
|
2017-05-17 11:29:28 +02:00
|
|
|
template <>
|
|
|
|
CefWrapperType CefCppToCRefCounted<CefBaseRefCountedCppToC,
|
|
|
|
CefBaseRefCounted,
|
|
|
|
cef_base_ref_counted_t>::kWrapperType =
|
2017-02-09 23:07:43 +01:00
|
|
|
WT_BASE_REF_COUNTED;
|