Index: Source/core/dom/MessagePort.cpp |
diff --git a/Source/core/dom/MessagePort.cpp b/Source/core/dom/MessagePort.cpp |
index b5e171446d784b353627a8ccaf637dd3deeab2eb..ed1a1d14ef2fbddc20ca07fdcffbc2ac39d61ba3 100644 |
--- a/Source/core/dom/MessagePort.cpp |
+++ b/Source/core/dom/MessagePort.cpp |
@@ -74,7 +74,7 @@ void MessagePort::postMessage(PassRefPtr<SerializedScriptValue> message, const M |
OwnPtr<MessagePortChannelArray> channels; |
// Make sure we aren't connected to any of the passed-in ports. |
if (ports) { |
- for (unsigned int i = 0; i < ports->size(); ++i) { |
+ for (unsigned i = 0; i < ports->size(); ++i) { |
MessagePort* dataPort = (*ports)[i].get(); |
if (dataPort == this) { |
exceptionState.throwDOMException(DataCloneError, "Port at index " + String::number(i) + " contains the source port."); |
@@ -229,7 +229,7 @@ PassOwnPtr<MessagePortArray> MessagePort::entanglePorts(ExecutionContext& contex |
return nullptr; |
OwnPtr<MessagePortArray> portArray = adoptPtr(new MessagePortArray(channels->size())); |
- for (unsigned int i = 0; i < channels->size(); ++i) { |
+ for (unsigned i = 0; i < channels->size(); ++i) { |
RefPtr<MessagePort> port = MessagePort::create(context); |
port->entangle((*channels)[i].release()); |
(*portArray)[i] = port.release(); |