DescriptionMove LoadHTMLString method from WebFrame to WebLocalFrame.
Most callers were already calling through WebLocalFrame (tests had to be
changed to use MainFrameImpl accessor to realize that). One test caller
(ParameterizedWebFrameTest.GetContentAsPlainText) cannot guarantee at
compile time that it has a local frame, but in practice the new
ToWebLocalFrame() passes all tests.
No intended behavior change.
BUG=416660
Review-Url: https://codereview.chromium.org/2917343004
Cr-Commit-Position: refs/heads/master@{#477381}
Committed: https://chromium.googlesource.com/chromium/src/+/bb1cff19414a4a999dc667baae35dd37ed9d545c
Patch Set 1 #
Total comments: 2
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 14 (10 generated)
|