mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
libcef: Convert NULL to nullptr (see issue #2861)
This commit is contained in:
@@ -12,10 +12,10 @@ CefCommandLineImpl::CefCommandLineImpl(base::CommandLine* value,
|
||||
bool read_only)
|
||||
: CefValueBase<CefCommandLine, base::CommandLine>(
|
||||
value,
|
||||
NULL,
|
||||
nullptr,
|
||||
will_delete ? kOwnerWillDelete : kOwnerNoDelete,
|
||||
read_only,
|
||||
NULL) {}
|
||||
nullptr) {}
|
||||
|
||||
bool CefCommandLineImpl::IsValid() {
|
||||
return !detached();
|
||||
@@ -26,7 +26,7 @@ bool CefCommandLineImpl::IsReadOnly() {
|
||||
}
|
||||
|
||||
CefRefPtr<CefCommandLine> CefCommandLineImpl::Copy() {
|
||||
CEF_VALUE_VERIFY_RETURN(false, NULL);
|
||||
CEF_VALUE_VERIFY_RETURN(false, nullptr);
|
||||
return new CefCommandLineImpl(new base::CommandLine(const_value().argv()),
|
||||
true, false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user