From 0321cd3e0a34cff407291b4fb67237f016bdbe17 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Fri, 29 Jul 2022 12:14:16 -0400 Subject: [PATCH] Fix minor style issues with request_impl.[cc|h] --- libcef/common/request_impl.cc | 3 ++- libcef/common/request_impl.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libcef/common/request_impl.cc b/libcef/common/request_impl.cc index 91ce623d9..718e62347 100644 --- a/libcef/common/request_impl.cc +++ b/libcef/common/request_impl.cc @@ -132,8 +132,9 @@ void GetHeaderMap(const net::HttpRequestHeaders& headers, // Do not include Referer in the header map. if (!base::EqualsCaseInsensitiveASCII(name, - net::HttpRequestHeaders::kReferer)) + net::HttpRequestHeaders::kReferer)) { map.insert(std::make_pair(name, it.value())); + } }; } diff --git a/libcef/common/request_impl.h b/libcef/common/request_impl.h index ba0a8c094..9ef13f2bb 100644 --- a/libcef/common/request_impl.h +++ b/libcef/common/request_impl.h @@ -92,7 +92,7 @@ class CefRequestImpl : public CefRequest { // Populate this object from the RedirectInfo object. void Set(const net::RedirectInfo& redirect_info); - // Populate this object from teh HttpRequestHeaders object. + // Populate this object from the HttpRequestHeaders object. void Set(const net::HttpRequestHeaders& headers); // Populate this object from the NavigationParams object.