https://bugs.webkit.org/show_bug.cgi?id=112627
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Mar 2013 22:20:57 +0000 (22:20 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Mar 2013 22:20:57 +0000 (22:20 +0000)
commitf2b1ccf5719b406f5ce7cdcf02476595f9a8bae7
treecc62163c57a64f00319cf2344c653f1c1f6b48ff
parent0a36d2b9d34d9a815878ae44f5a3353eb5444e2b
https://bugs.webkit.org/show_bug.cgi?id=112627
MessagePort::disentangle() takes an ExceptionCode argument without any need

Reviewed by Geoffrey Garen.

MessagePort::disentangle() is called in two places. One has ASSERT_NO_EXCEPTION,
and another fails to check the exception, but clearly cannot get one.

This function is also not exposed to bindings.

* dom/MessagePort.cpp:
(WebCore::MessagePort::disentangle):
(WebCore::MessagePort::disentanglePorts):
* dom/MessagePort.h:
* workers/SharedWorker.cpp:
(WebCore::SharedWorker::create):
Also removed some unhelpful comments.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@146130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/MessagePort.cpp
Source/WebCore/dom/MessagePort.h
Source/WebCore/workers/SharedWorker.cpp