commit | 8de5a82db062d857f9c2681518efe6d3401d58eb | [log] [tgz] |
---|---|---|
author | Daniel Bratell <bratell@opera.com> | Wed Feb 20 16:51:25 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 20 16:51:25 2019 |
tree | df45986dc67e7aad70f303b8b609ede773a18447 | |
parent | 19b3d662d1475c5d44ab802e7e45f1ce154998fc [diff] |
Remove variable shadowing in blink/modules/credentialmanager In an effort to reduce or even ban variable shadowing, this renames a variable to avoid such shadowing. I'm interested in prohibiting shadowing because I think it might prevent potential jumbo problems. The exact error this avoids is: third_party/blink/renderer/modules/credentialmanager/credentials_container.cc:180:23: error: declaration shadows a local variable [-Werror,-Wshadow] OriginAccessEntry access_entry( ^ third_party/blink/renderer/modules/credentialmanager/credentials_container.cc:166:21: note: previous declaration is here OriginAccessEntry access_entry( ^ Bug: 923510 Change-Id: I61b11ecd489ed9842e1a9ebee9293050f7f1cde5 Reviewed-on: https://chromium-review.googlesource.com/c/1478890 Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Daniel Bratell <bratell@opera.com> Cr-Commit-Position: refs/heads/master@{#633742}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .