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/ctocpp/base_ref_counted_ctocpp.h"
|
|
|
|
|
2017-05-17 11:29:28 +02:00
|
|
|
CefBaseRefCountedCToCpp::CefBaseRefCountedCToCpp() {}
|
2017-02-09 23:07:43 +01:00
|
|
|
|
2017-05-17 11:29:28 +02:00
|
|
|
template <>
|
|
|
|
cef_base_ref_counted_t* CefCToCppRefCounted<
|
|
|
|
CefBaseRefCountedCToCpp,
|
|
|
|
CefBaseRefCounted,
|
|
|
|
cef_base_ref_counted_t>::UnwrapDerived(CefWrapperType type,
|
|
|
|
CefBaseRefCounted* c) {
|
2023-05-08 17:07:57 +02:00
|
|
|
DCHECK(false);
|
2017-02-09 23:07:43 +01:00
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2017-05-17 11:29:28 +02:00
|
|
|
template <>
|
|
|
|
CefWrapperType CefCToCppRefCounted<CefBaseRefCountedCToCpp,
|
|
|
|
CefBaseRefCounted,
|
|
|
|
cef_base_ref_counted_t>::kWrapperType =
|
2017-02-09 23:07:43 +01:00
|
|
|
WT_BASE_REF_COUNTED;
|