| Index: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| index a8f80d614dcd79f4d1a44fafbd6d67ef6c822204..da900096999e130076612a334405a62febd15c42 100644
|
| --- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "bindings/core/v8/ScriptController.h"
|
| #include "bindings/core/v8/ScriptSourceCode.h"
|
| +#include "bindings/core/v8/V8Binding.h"
|
| #include "bindings/core/v8/V8Element.h"
|
| #include "core/HTMLNames.h"
|
| #include "core/clipboard/DataObject.h"
|
| @@ -448,7 +449,7 @@ v8::Local<v8::Object> WebPluginContainerImpl::v8ObjectForElement() {
|
| if (!m_element->document().canExecuteScripts(NotAboutToExecuteScript))
|
| return v8::Local<v8::Object>();
|
|
|
| - ScriptState* scriptState = ScriptState::forMainWorld(frame);
|
| + ScriptState* scriptState = toScriptStateForMainWorld(frame);
|
| if (!scriptState)
|
| return v8::Local<v8::Object>();
|
|
|
|
|