Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(424)

Issue 937393002: win vs2015: fix shadowing warnings in net/url_request (Closed)

Created:
5 years, 10 months ago by scottmg
Modified:
5 years, 10 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

win vs2015: fix shadowing warnings in net/url_request d:\src\cr2\src\net\url_request\url_request_filter.cc(149): error C2220: warning treated as error - no 'object' file generated d:\src\cr2\src\net\url_request\url_request_filter.cc(149): warning C4456: declaration of 'it' hides previous local declaration d:\src\cr2\src\net\url_request\url_request_filter.cc(141): note: see declaration of 'it' d:\src\cr2\src\net\url_request\url_request_http_job.cc(917): error C2220: warning treated as error - no 'object' file generated d:\src\cr2\src\net\url_request\url_request_http_job.cc(917): warning C4456: declaration of 'context' hides previous local declaration d:\src\cr2\src\net\url_request\url_request_http_job.cc(859): note: see declaration of 'context' d:\src\cr2\src\net\url_request\url_request_job_manager.cc(79): error C2220: warning treated as error - no 'object' file generated d:\src\cr2\src\net\url_request\url_request_job_manager.cc(79): warning C4456: declaration of 'job' hides previous local declaration d:\src\cr2\src\net\url_request\url_request_job_manager.cc(71): note: see declaration of 'job' ninja: build stopped: subcommand failed. R=eroman@chromium.org BUG=440500 Committed: https://crrev.com/66af5887986c6e397eb502be312a98dc6e7d6d9b Cr-Commit-Position: refs/heads/master@{#317384}

Patch Set 1 #

Total comments: 4

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -9 lines) Patch
M net/url_request/url_request_filter.cc View 1 1 chunk +6 lines, -4 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 chunk +0 lines, -1 line 0 comments Download
M net/url_request/url_request_job_manager.cc View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
scottmg
https://codereview.chromium.org/937393002/diff/1/net/url_request/url_request_http_job.cc File net/url_request/url_request_http_job.cc (left): https://codereview.chromium.org/937393002/diff/1/net/url_request/url_request_http_job.cc#oldcode917 net/url_request/url_request_http_job.cc:917: const URLRequestContext* context = request_->context(); i'm assuming here that ...
5 years, 10 months ago (2015-02-20 05:14:10 UTC) #1
eroman
lgtm https://codereview.chromium.org/937393002/diff/1/net/url_request/url_request_filter.cc File net/url_request/url_request_filter.cc (right): https://codereview.chromium.org/937393002/diff/1/net/url_request/url_request_filter.cc#newcode149 net/url_request/url_request_filter.cc:149: URLInterceptorMap::const_iterator url_it = url_interceptor_map_.find(url); or alternately put curlies ...
5 years, 10 months ago (2015-02-20 07:36:45 UTC) #2
scottmg
https://codereview.chromium.org/937393002/diff/1/net/url_request/url_request_filter.cc File net/url_request/url_request_filter.cc (right): https://codereview.chromium.org/937393002/diff/1/net/url_request/url_request_filter.cc#newcode149 net/url_request/url_request_filter.cc:149: URLInterceptorMap::const_iterator url_it = url_interceptor_map_.find(url); On 2015/02/20 07:36:45, eroman wrote: ...
5 years, 10 months ago (2015-02-20 19:19:41 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/937393002/20001
5 years, 10 months ago (2015-02-20 19:20:46 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-20 20:16:35 UTC) #7
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 20:17:03 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/66af5887986c6e397eb502be312a98dc6e7d6d9b
Cr-Commit-Position: refs/heads/master@{#317384}

Powered by Google App Engine
This is Rietveld 408576698