DescriptionMove SetReferrerForRequest method from WebFrame to WebLocalFrame.
The SetReferrerForRequest method needs to access Document, which
doesn't make sense for a remote frame. Therefore, this CL moves
this method from WebFrame to WebLocalFrame.
The caller in content/renderer/pepper/url_request_info_util.cc already
calls through WebLocalFrame.
The caller in media/blink/resource_multibuffer_data_provider.cc
calls through WebLocalFrame, but doesn't realize it. This CL
changes s/WebFrame/WebLocalFrame/ in a few places under media/blink
to make this explicit.
No intended behavior change.
BUG=416660
Review-Url: https://codereview.chromium.org/2962573002
Cr-Commit-Position: refs/heads/master@{#482885}
Committed: https://chromium.googlesource.com/chromium/src/+/3034ad79e9d6a0ccdd067608b172b7ff126b3689
Patch Set 1 #
Messages
Total messages: 23 (12 generated)
|