2009-03-03 Mike Belshe <mike@belshe.com>
[WebKit-https.git] / WebCore / dom / MessagePort.cpp
index 0607beae6a9994043ff5ccf456228a018b311006..312a1f3e7e254f8a19a10845d1f725e1ce9c0753 100644 (file)
@@ -137,6 +137,7 @@ void MessagePort::postMessage(const String& message, MessagePort* dataPort, Exce
             ec = INVALID_ACCESS_ERR;
             return;
         }
+        ec = 0;
         newMessagePort = dataPort->clone(ec);
         if (ec)
             return;