| Index: Source/web/WebPluginContainerImpl.cpp
|
| diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp
|
| index 4adc15c159fa4b21adddec32ae9ebe0091593cd1..d93a9df6457773ad727018c1bf59805a0f89fc63 100644
|
| --- a/Source/web/WebPluginContainerImpl.cpp
|
| +++ b/Source/web/WebPluginContainerImpl.cpp
|
| @@ -436,7 +436,7 @@ v8::Local<v8::Object> WebPluginContainerImpl::v8ObjectForElement()
|
| return v8::Local<v8::Object>();
|
|
|
| ScriptState* scriptState = ScriptState::forMainWorld(frame);
|
| - if (scriptState->contextIsValid())
|
| + if (!scriptState->contextIsValid())
|
| return v8::Local<v8::Object>();
|
|
|
| v8::Handle<v8::Value> v8value = toV8(m_element, scriptState->context()->Global(), scriptState->isolate());
|
|
|