libcef: Format with clang-tidy (see #3632)

This commit is contained in:
Marshall Greenblatt
2024-01-20 17:48:57 -05:00
parent 4ea1b6f293
commit a02d2ab3e6
158 changed files with 639 additions and 686 deletions

View File

@@ -4,6 +4,8 @@
#include "libcef/common/thread_impl.h"
#include <memory>
#include "libcef/common/task_runner_impl.h"
#include "base/functional/bind.h"
@@ -41,7 +43,7 @@ CefRefPtr<CefThread> CefThread::CreateThread(
return thread_impl;
}
CefThreadImpl::CefThreadImpl() : thread_id_(kInvalidPlatformThreadId) {}
CefThreadImpl::CefThreadImpl() = default;
CefThreadImpl::~CefThreadImpl() {
if (thread_.get()) {
@@ -67,7 +69,7 @@ bool CefThreadImpl::Create(const CefString& display_name,
return false;
}
thread_.reset(new base::Thread(display_name));
thread_ = std::make_unique<base::Thread>(display_name);
base::Thread::Options options;