Back out accidental commit of Connection.cpp
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Feb 2011 18:46:24 +0000 (18:46 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Feb 2011 18:46:24 +0000 (18:46 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@77258 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/Platform/CoreIPC/Connection.cpp

index c6cdbde..4b25629 100644 (file)
@@ -275,15 +275,13 @@ void Connection::processIncomingMessage(MessageID messageID, PassOwnPtr<Argument
     // Check if this is a sync reply.
     if (messageID == MessageID(CoreIPCMessage::SyncMessageReply)) {
         MutexLocker locker(m_syncReplyStateMutex);
     // Check if this is a sync reply.
     if (messageID == MessageID(CoreIPCMessage::SyncMessageReply)) {
         MutexLocker locker(m_syncReplyStateMutex);
-        if (!m_pendingSyncReplies.isEmpty()) {
-            ASSERT(!m_pendingSyncReplies.isEmpty());
+        ASSERT(!m_pendingSyncReplies.isEmpty());
 
 
-            PendingSyncReply& pendingSyncReply = m_pendingSyncReplies.last();
-            ASSERT(pendingSyncReply.syncRequestID == arguments->destinationID());
+        PendingSyncReply& pendingSyncReply = m_pendingSyncReplies.last();
+        ASSERT(pendingSyncReply.syncRequestID == arguments->destinationID());
 
 
-            pendingSyncReply.replyDecoder = arguments.leakPtr();
-            pendingSyncReply.didReceiveReply = true;
-        }
+        pendingSyncReply.replyDecoder = arguments.leakPtr();
+        pendingSyncReply.didReceiveReply = true;
         m_waitForSyncReplySemaphore.signal();
         return;
     }
         m_waitForSyncReplySemaphore.signal();
         return;
     }