DescriptionMove ExecuteScript method from WebFrame to WebLocalFrame.
Many callers already were calling through WebLocalFrame.
For 4 callers that can't guarantee at compile-time that the target frame
is a local frame, this CL:
- preserves the NOTREACHED() / no-op behavior (in case of
components/plugins/renderer/loadable_plugin_placeholder.cc)
- or does the same, but upgrading NOTREACHED() to a CHECK()
(in case of content/shell/test_runner/test_runner.cc)
No intended behavior change.
BUG=416660
TBR=mattm@chromium.org, dcblack@chromium.org, scottbyer@chromium.org, avi@chromium.org
Review-Url: https://codereview.chromium.org/2923433002
Cr-Commit-Position: refs/heads/master@{#477333}
Committed: https://chromium.googlesource.com/chromium/src/+/bb4fe6d5aa4d9584944c2223dcd7f3b92da42e9a
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed CR feedback. #
Total comments: 3
Patch Set 3 : Tweaked a comment in WebViewPlugin::WebViewHelper::main_frame [as suggested in CR feedback] #Dependent Patchsets: Messages
Total messages: 31 (16 generated)
|