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:
@ -37,7 +37,7 @@ void CefCommandLineImpl::InitFromArgv(int argc, const char* const* argv) {
|
||||
CEF_VALUE_VERIFY_RETURN_VOID(true);
|
||||
mutable_value()->InitFromArgv(argc, argv);
|
||||
#else
|
||||
NOTREACHED() << "method not supported on this platform";
|
||||
DCHECK(false) << "method not supported on this platform";
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -47,7 +47,7 @@ void CefCommandLineImpl::InitFromString(const CefString& command_line) {
|
||||
const std::wstring& str16 = command_line;
|
||||
mutable_value()->ParseFromString(str16);
|
||||
#else
|
||||
NOTREACHED() << "method not supported on this platform";
|
||||
DCHECK(false) << "method not supported on this platform";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user