Bug 727414 - Busy cursor in thread and folderpane while reading news (ui.use_activity_cursor = true). r=jcranmer
authorHartmut Figge <h.figge@gmx.de>
Sun, 23 Dec 2012 03:01:00 +0100
changeset 15786 89ca38497a74fa4e060e24e81e863fd31609520f
parent 15785 a98a8f1574d421a474b39336ca19e2b738ac7cae
child 15787 374d30ca7c599aae5c72dec2cfcb63fe49b3a6d9
push id942
push userbugzilla@standard8.plus.com
push dateMon, 05 Aug 2013 19:15:38 +0000
treeherdercomm-beta@0e1a1c4a9f0c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjcranmer
bugs727414, 226890
Bug 727414 - Busy cursor in thread and folderpane while reading news (ui.use_activity_cursor = true). r=jcranmer Back out "this part might have unforeseen consequences" part of part 10 from Bug 226890
mailnews/base/util/nsMsgProtocol.cpp
--- a/mailnews/base/util/nsMsgProtocol.cpp
+++ b/mailnews/base/util/nsMsgProtocol.cpp
@@ -522,20 +522,16 @@ nsresult nsMsgProtocol::LoadUrl(nsIURI *
 
         nsCOMPtr<nsIInputStreamPump> pump;
         rv = NS_NewInputStreamPump(getter_AddRefs(pump),
           m_inputStream, -1, m_readCount);
         if (NS_FAILED(rv)) return rv;
 
         m_request = pump; // keep a reference to the pump so we can cancel it
 
-        // This helps when running URLs from the command line
-        rv = pump->SetLoadGroup(m_loadGroup);
-        NS_ENSURE_SUCCESS(rv, rv);
-
         // put us in a state where we are always notified of incoming data
         rv = pump->AsyncRead(this, urlSupports);
         NS_ASSERTION(NS_SUCCEEDED(rv), "AsyncRead failed");
         m_socketIsOpen = true; // mark the channel as open
       }
     } // if we got an event queue service
     else if (!msgIsInLocalCache) // the connection is already open so we should begin processing our new url...
       rv = ProcessProtocolState(aURL, nullptr, 0, 0);