OSDN Git Service

Pick up a fix in V8 binding.
authorFeng Qian <fqian@google.com>
Tue, 14 Jul 2009 17:35:23 +0000 (10:35 -0700)
committerFeng Qian <fqian@google.com>
Tue, 14 Jul 2009 17:35:23 +0000 (10:35 -0700)
WebCore/bindings/v8/custom/V8CustomVoidCallback.cpp

index b4daebd..ee0b05e 100644 (file)
@@ -89,7 +89,7 @@ bool invokeCallback(v8::Persistent<v8::Object> callback, int argc, v8::Handle<v8
 
     v8::Handle<v8::Value> result = proxy->CallFunction(callbackFunction, thisObject, argc, argv);
 
-    callbackReturnValue = result.IsEmpty() && result->IsBoolean() && result->BooleanValue();
+    callbackReturnValue = !result.IsEmpty() && result->IsBoolean() && result->BooleanValue();
 
     return exceptionCatcher.HasCaught();
 }