| Index: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| index 7e1a51a703d1e1756c1575eb7e00812d6ef31b40..780bf147118c339671eb14bae5918a99e46cea48 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| @@ -378,8 +378,10 @@ SharedPersistent<v8::Object>* HTMLPlugInElement::PluginWrapper() {
|
| else
|
| plugin = PluginWidget();
|
|
|
| - if (plugin)
|
| - plugin_wrapper_ = frame->Script().CreatePluginWrapper(*plugin);
|
| + if (plugin) {
|
| + plugin_wrapper_ =
|
| + frame->GetScriptController().CreatePluginWrapper(*plugin);
|
| + }
|
| }
|
| return plugin_wrapper_.Get();
|
| }
|
|
|