mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Replace NOTREACHED() with DCHECK(false) (fixes #3500)
Restores the old behavior of assertion in Debug build only.
This commit is contained in:
@ -10,7 +10,7 @@ template <>
|
||||
CefOwnPtr<CefBaseScoped>
|
||||
CefCppToCScoped<CefBaseScopedCppToC, CefBaseScoped, cef_base_scoped_t>::
|
||||
UnwrapDerivedOwn(CefWrapperType type, cef_base_scoped_t* s) {
|
||||
NOTREACHED();
|
||||
DCHECK(false);
|
||||
return CefOwnPtr<CefBaseScoped>();
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ template <>
|
||||
CefRawPtr<CefBaseScoped>
|
||||
CefCppToCScoped<CefBaseScopedCppToC, CefBaseScoped, cef_base_scoped_t>::
|
||||
UnwrapDerivedRaw(CefWrapperType type, cef_base_scoped_t* s) {
|
||||
NOTREACHED();
|
||||
DCHECK(false);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user