| Index: components/plugins/renderer/loadable_plugin_placeholder.cc
|
| diff --git a/components/plugins/renderer/loadable_plugin_placeholder.cc b/components/plugins/renderer/loadable_plugin_placeholder.cc
|
| index 576786453687c1f4fb6a4b98eb2a147a70cdd991..41ff1b0e6dfe358a6824315af5529d6cadf186b5 100644
|
| --- a/components/plugins/renderer/loadable_plugin_placeholder.cc
|
| +++ b/components/plugins/renderer/loadable_plugin_placeholder.cc
|
| @@ -145,7 +145,7 @@ void LoadablePluginPlaceholder::UpdateMessage() {
|
| return;
|
| std::string script =
|
| "window.setMessage(" + base::GetQuotedJSONString(message_) + ")";
|
| - plugin()->web_view()->MainFrame()->ExecuteScript(
|
| + plugin()->main_frame()->ExecuteScript(
|
| blink::WebScriptSource(blink::WebString::FromUTF8(script)));
|
| }
|
|
|
| @@ -252,7 +252,7 @@ void LoadablePluginPlaceholder::OnUnobscuredRectUpdate(
|
| std::string script = base::StringPrintf(
|
| "window.resizePoster('%dpx', '%dpx', '%dpx', '%dpx')", x, y, width,
|
| height);
|
| - plugin()->web_view()->MainFrame()->ExecuteScript(
|
| + plugin()->main_frame()->ExecuteScript(
|
| blink::WebScriptSource(blink::WebString::FromUTF8(script)));
|
| }
|
| }
|
|
|