Unreviewed, Chromium build fix.
[WebKit-https.git] / WebCore / bindings / v8 / custom / V8CustomVoidCallback.cpp
index 6e258dfc83ae66368cd6119d7ee8292c6940cc70..f4ea62ae4b9b59f3446dd9c9e21da6477a9f427e 100644 (file)
@@ -87,7 +87,7 @@ bool invokeCallback(v8::Persistent<v8::Object> callback, int argc, v8::Handle<v8
     ASSERT(proxy);
 
     v8::Handle<v8::Value> result = proxy->callFunction(callbackFunction, thisObject, argc, argv);
-    callbackReturnValue = !result.IsEmpty() && result->IsBoolean() && result->BooleanValue();
+    callbackReturnValue = !result.IsEmpty() && result->BooleanValue();
 
     if (exceptionCatcher.HasCaught()) {
         v8::Local<v8::Message> message = exceptionCatcher.Message();