| Index: Source/web/WebPluginContainerImpl.cpp
|
| diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp
|
| index 939d0b31b9827c7bce42271251d015d8da90a85f..b300a9710b30b6e0a3612bd95cf98d54e6cfb927 100644
|
| --- a/Source/web/WebPluginContainerImpl.cpp
|
| +++ b/Source/web/WebPluginContainerImpl.cpp
|
| @@ -432,7 +432,7 @@ v8::Local<v8::Object> WebPluginContainerImpl::v8ObjectForElement()
|
| return v8::Local<v8::Object>();
|
|
|
| ScriptState* scriptState = ScriptState::forMainWorld(frame);
|
| - if (scriptState->contextIsEmpty())
|
| + if (scriptState->contextIsValue())
|
| return v8::Local<v8::Object>();
|
|
|
| v8::Handle<v8::Value> v8value = toV8(m_element, scriptState->context()->Global(), scriptState->isolate());
|
|
|