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.