| Index: chrome_frame/chrome_frame_npapi.cc
|
| diff --git a/chrome_frame/chrome_frame_npapi.cc b/chrome_frame/chrome_frame_npapi.cc
|
| index 84e2bc70a21cb1bafbef262a9f44db6ea9b8f17f..0baab275d1d6c0582e768025804bfc81f95c92fc 100644
|
| --- a/chrome_frame/chrome_frame_npapi.cc
|
| +++ b/chrome_frame/chrome_frame_npapi.cc
|
| @@ -399,7 +399,7 @@ bool ChromeFrameNPAPI::Invoke(NPObject* header, NPIdentifier name,
|
| const NPVariant* args, uint32_t arg_count,
|
| NPVariant* result) {
|
| ChromeFrameNPAPI* plugin_instance = ChromeFrameInstanceFromNPObject(header);
|
| - if (!plugin_instance && (plugin_instance->automation_client_.get()))
|
| + if (!plugin_instance || !plugin_instance->automation_client_.get())
|
| return false;
|
|
|
| bool success = false;
|
|
|