refactor: run clang-tidy (#20231)
* refactor: clang-tidy modernize-use-nullptr * refactor: clang-tidy modernize-use-equals-default * refactor: clang-tidy modernize-make-unique * refactor: omit nullptr arg from unique_ptr.reset() As per comment by @miniak
This commit is contained in:
parent
660e566201
commit
2b316f3843
93 changed files with 261 additions and 223 deletions
|
@ -106,7 +106,7 @@ RendererClientBase::RendererClientBase() {
|
|||
command_line->GetSwitchValueASCII(::switches::kRendererClientId);
|
||||
}
|
||||
|
||||
RendererClientBase::~RendererClientBase() {}
|
||||
RendererClientBase::~RendererClientBase() = default;
|
||||
|
||||
void RendererClientBase::DidCreateScriptContext(
|
||||
v8::Handle<v8::Context> context,
|
||||
|
@ -200,8 +200,8 @@ void RendererClientBase::RenderThreadStarted() {
|
|||
blink::WebSecurityPolicy::RegisterURLSchemeAsAllowingServiceWorkers("file");
|
||||
blink::SchemeRegistry::RegisterURLSchemeAsSupportingFetchAPI("file");
|
||||
|
||||
prescient_networking_dispatcher_.reset(
|
||||
new network_hints::PrescientNetworkingDispatcher());
|
||||
prescient_networking_dispatcher_ =
|
||||
std::make_unique<network_hints::PrescientNetworkingDispatcher>();
|
||||
|
||||
#if defined(OS_WIN)
|
||||
// Set ApplicationUserModelID in renderer process.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue