1 // Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights 2 // reserved. Use of this source code is governed by a BSD-style license that 3 // can be found in the LICENSE file. 4 5 #include "libcef_dll/cpptoc/base_ref_counted_cpptoc.h" 6 CefBaseRefCountedCppToC()7CefBaseRefCountedCppToC::CefBaseRefCountedCppToC() {} 8 9 template <> 10 CefRefPtr<CefBaseRefCounted> CefCppToCRefCounted< 11 CefBaseRefCountedCppToC, 12 CefBaseRefCounted, UnwrapDerived(CefWrapperType type,cef_base_ref_counted_t * s)13 cef_base_ref_counted_t>::UnwrapDerived(CefWrapperType type, 14 cef_base_ref_counted_t* s) { 15 NOTREACHED(); 16 return nullptr; 17 } 18 19 template <> 20 CefWrapperType CefCppToCRefCounted<CefBaseRefCountedCppToC, 21 CefBaseRefCounted, 22 cef_base_ref_counted_t>::kWrapperType = 23 WT_BASE_REF_COUNTED; 24