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 <>
|
||||
cef_base_scoped_t*
|
||||
CefCToCppScoped<CefBaseScopedCToCpp, CefBaseScoped, cef_base_scoped_t>::
|
||||
UnwrapDerivedOwn(CefWrapperType type, CefOwnPtr<CefBaseScoped> c) {
|
||||
NOTREACHED();
|
||||
DCHECK(false);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ template <>
|
||||
cef_base_scoped_t*
|
||||
CefCToCppScoped<CefBaseScopedCToCpp, CefBaseScoped, cef_base_scoped_t>::
|
||||
UnwrapDerivedRaw(CefWrapperType type, CefRawPtr<CefBaseScoped> c) {
|
||||
NOTREACHED();
|
||||
DCHECK(false);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user