Commit a1b8f666 authored by Morten Stenshorne's avatar Morten Stenshorne Committed by Commit Bot

Compile core/exported/ with -Wshadow.

Bug: 294205
Change-Id: I579500a705436e6c36b8b56c241ab5f8b5e9018e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462260Reviewed-by: default avatarNate Chapin <japhet@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#815642}
parent ad3abd6d
......@@ -5,6 +5,8 @@ import("//build/config/dcheck_always_on.gni")
import("//third_party/blink/renderer/core/core.gni")
blink_core_sources("exported") {
configs += [ "//build/config/compiler:noshadowing" ]
sources = [
"local_frame_client_impl.cc",
"local_frame_client_impl.h",
......
......@@ -598,9 +598,9 @@ void LocalFrameClientImpl::BeginNavigation(
} else {
navigation_info->initiator_frame = nullptr;
}
for (auto& policy : initiator_csp) {
for (auto& csp_policy : initiator_csp) {
navigation_info->initiator_csp.emplace_back(
ConvertToPublic(std::move(policy)));
ConvertToPublic(std::move(csp_policy)));
}
if (initiator_self_source) {
navigation_info->initiator_self_source =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment