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) {
|
2023-05-08 17:07:57 +02:00
|
|
|
DCHECK(false);
|
2020-01-15 14:36:24 +01:00
|
|
|
return nullptr;
|
2017-02-09 23:07:43 +01:00
|
|
|
}
|
|
|
|
|
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;
|