Don't assume ResourceRequestInfo is at UserData key NULL.
commitf2f852a3107df270fba6a37b1577ffb58df50c1c
authordavidben <davidben@chromium.org>
Fri, 4 Sep 2015 03:06:35 +0000 (3 20:06 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 4 Sep 2015 03:07:34 +0000 (4 03:07 +0000)
tree08b50aca3d242ddb6c05d3bc20ec1477f824e992
parent180963cf13753e7c64b712670aff5c9e9d4b9d39
Don't assume ResourceRequestInfo is at UserData key NULL.

This is faster anyway since it avoids querying UserData twice.

BUG=none

Review URL: https://codereview.chromium.org/1314643005

Cr-Commit-Position: refs/heads/master@{#347327}
chrome/browser/extensions/api/web_request/chrome_extension_web_request_event_router_delegate.cc
extensions/browser/api/web_request/web_request_api.cc